Enumerate
Enumerate
Built-in function of Python.
Allows us to loop over something and have an automatic counter.
Example:
Accepts an optional argument which allows to tell enumerate
from where to start the index.
Example: create tuples containing the index and list item using a list:
Last updated