I am puzzled about the enumerate function. The output of the code on the related lecture shows a list starting with the index 1. Should it not be starting from 0. Image pasted for reference
Re-iterating. I think the “Spanish “ should not be there in the output
see that enumerate has a starting value? the second argument. the 1 next to languages. it means it starts at 1 instead of 0
if you look there is an example earlier without a starting value, and then there is this example with a starting value
there is a paragraph about the starting value right above this example
It means that it has nothing to do with the actual index. It is just cosmetic i.e. what we want to show.
I thought that the “1“ acted as the starting point for iterations
the enumerate function does not filter values, if you want to do that there are other functions
Clearly Understood. Thanks
