What does enumerate(items, start=1) do in Python?
Correct answer
D. Counts from 1 instead of 0
5 views
D. Counts from 1 instead of 0
5 views
The start argument sets the first index value.
Asked in: Python Interview Advanced Python
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.