The language
How Python code behaves, from names and scope to functions, iteration and errors.
Level
2 tutorials about languageClear 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
- Basics
Format text and numbers with Python f-strings
Put values into text, round and line up numbers, and debug faster with f-strings, by printing a small café bill one step at a time.
12 min
Published 21 Nov 2026