Python Fundamentals
26 stages · new, still being reviewed
From your first print() through lists, dictionaries and functions, to classes,
generators, decorators and match. Every program is run on CPython 3.14, and
typed challenges run all the way through.
See all 26 stages
- First Programs
- Names and Values
- Numbers and Arithmetic
- Text and Input
- Making Decisions
- Repeating with
while forLoops andrange- Lists
- Objects, Identity and Mutation
- Tuples and Unpacking
- Working with Strings
- Dictionaries and Sets
- Writing Functions
- Arguments and Scope
- Modules and the Standard Library
- Iteration Tools
- Comprehensions
- Handling Errors
- Files and
with - Classes and Objects
- Special Methods
- Inheritance
- Iterators and Generators
- Decorators
- Pattern Matching with
match - Type Hints, Docstrings and Packages
![A lesson diagram of int a[10] = {[2] = 30, [5] = 60}; drawn as ten cells. Cells 2 and 5 are marked designated and hold 30 and 60; the rest hold 0. A linked bar reads: [5] = 60 put 60 into a[5].](assets/img/shots/array-cells.webp)



