Data structures
Lists, dicts, sets and their relatives, what each is good at and what it costs.
Level
1 tutorial about data-structuresClear filters
- Basics
Work with lists, dictionaries and for loops in Python
Keep a week of step counts in a list and a dictionary, then loop over them to find the total, the average, your best day and the days you hit your goal.
18 min
Published 27 Nov 2026