This course covered how and why to use enumerate(). You learned how to:
- Use
enumerate()to get a counter in a loop - Apply
enumerate()to display item counts - Implement your own equivalent function to
enumerate() - Unpack values returned by
enumerate()
For more information on concepts covered in this course, you can check out:
- Python
forLoops (Definite Iteration) - Defining Your Own Python Function
- Sets in Python
- Lists and Tuples in Python

mewilliams on July 25, 2025
I’m working with several graduate students in China who have asked about enumerate. I now feel confident in giving answers.