Introduction
Meet Noodle. Print your first words, call your first functions, and learn to read what Python tells you.
Thirteen weeks of Python, in the order it's usually taught, and one last garden. The first level of every chapter is always open, so feel free to skip ahead.
Meet Noodle. Print your first words, call your first functions, and learn to read what Python tells you.
Give values a name. Numbers, text and True/False, and how to change the world by changing a variable.
Teach Noodle to make choices with if, elif and else.
Do things again and again with for and while, without writing them out a hundred times.
Invent new words with def, give them parameters, and get answers back with return.
Keep many things in order, count from zero, and grow lists while your code runs.
Text is a sequence too. Loop through it, split it, clean it up, and fill it in with f-strings.
Look things up by name with dictionaries, and keep pairs together with tuples.
Read letters from files and write a diary of your own.
Make your own kinds of things: classes, objects, attributes and methods.
Inheritance, overriding, and the special methods that make objects feel at home.
Maths on whole arrays at once, and your first chart.
Python's toolboxes: import them, take out just what you need.
One last garden. Everything you know, working together.