Description
Coding
Python: beginner to advanced
Learn Python through 40 progressive lessons from first steps to reusable programs, structured data, robust error handling, and efficient algorithms. Each lesson includes examples, practice questions, and a runnable coding task.
Work with richer data, flexible functions, sorting, errors, and JSON.
- 1
List comprehensions
Build transformed and filtered lists with a compact expression.
10 min
- 2
Tuples and unpacking
Use fixed groups of values and unpack them into clear names.
10 min
- 3
Sets and unique values
Remove duplicates and compare collections with set operations.
11 min
- 4
Nested data
Read and update lists and dictionaries stored inside one another.
12 min
- 5
Flexible functions
Call functions with default values and keyword arguments.
11 min
- 6
Enumerate and zip
Loop with positions and pair related collections safely.
11 min
- 7
Sorting with keys
Sort richer data by the field that matters.
12 min
- 8
Handling errors
Recover from expected problems with focused exception handling.
12 min
- 9
Working with JSON
Convert between JSON text and Python data.
12 min
- 10
Project: expense report
Combine structured data, filtering, sorting, and reusable functions.
16 min