YOUR LEARNING PATH

One little step at a time.

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.

0%
0 of 69 puzzles complete
WEEK 1UP NEXT

Introduction

Meet Noodle. Print your first words, call your first functions, and learn to read what Python tells you.

0/6
1. Hello, world
2. Wake up
3. A little further
4. Around the corner
5. Shh, comments
6. The tired snake
WEEK 2

Variables and types

Give values a name. Numbers, text and True/False, and how to change the world by changing a variable.

0/7
1. Labelled boxes
2. The door
3. Frozen pond
4. Short bridge
5. Five plus five
6. Whole planks
7. All together
WEEK 3

Conditionals

Teach Noodle to make choices with if, elif and else.

0/3
1. Which way?
2. Three ways
3. Remember?
WEEK 4

Loops

Do things again and again with for and while, without writing them out a hundred times.

0/8
1. Stairs
2. Garden arches
3. Off by one
4. Inside or outside
5. Look before you leap
6. One or two
7. How far?
8. The toll bridge
WEEK 5

Functions

Invent new words with def, give them parameters, and get answers back with return.

0/3
1. A little dance
2. Growing stairs
3. Ask again
WEEK 6

Lists

Keep many things in order, count from zero, and grow lists while your code runs.

0/4
1. Stepping stones
2. Count from zero
3. Too short
4. The recipe
WEEK 7

Strings

Text is a sequence too. Loop through it, split it, clean it up, and fill it in with f-strings.

0/7
1. Letter by letter
2. One long sign
3. Say please
4. A postcard home
5. Backwards day
6. How many a's?
7. And then
WEEK 8

Dictionaries and tuples

Look things up by name with dictionaries, and keep pairs together with tuples.

0/6
1. Snake words
2. Breadcrumbs
3. X marks the spot
4. The fruit basket
5. The snack shop
6. Swap places
WEEK 9

Files

Read letters from files and write a diary of your own.

0/5
1. A letter for Noodle
2. Dear diary
3. The snack list
4. Another day
5. The builder's notes
WEEK 10

Classes I

Make your own kinds of things: classes, objects, attributes and methods.

0/5
1. The door object
2. The bridge builder
3. Made to order
4. The snack counter
5. Measuring gardens
WEEK 11

Classes II

Inheritance, overriding, and the special methods that make objects feel at home.

0/5
1. A chip off the old pond
2. Lilypads
3. Name tags
4. Family names
5. How full is the basket?
WEEK 12

Numpy and Matplotlib

Maths on whole arrays at once, and your first chart.

0/5
1. Many at once
2. The berry bush
3. Draw it
4. The average day
5. Big berries only
WEEK 13

Modules

Python's toolboxes: import them, take out just what you need.

0/4
1. Round up
2. Just what you need
3. A slice of pi
4. Noodle's birthday
FINALE

The long way home

One last garden. Everything you know, working together.

0/1