Back to Lesson
Indexed Listing
Use the enumerate structure to label sequence instances.
Instructions
- Given.
tasks = ["Wash car", "Buy groceries", "Schedule appointment"] - Re-format this list explicitly tracking position using enumerate!
- Build a loop that printsstructure for each item. Start counting at 1.
- <Index>: <Task>
main.py
main.py
Ctrl + Enter