Topics

1

print, input and your first program

Run a first program that reads input and prints output.

Full course
2

Variables: boxes in memory

See how Python stores text and numbers, and what happens when a value changes.

Free
3

Numbers, strings and type conversion

Use int, float, str, bool and convert between them.

Full course
4

If and else: making decisions

Follow Python as it checks a condition and picks which lines to run.

Free
5

Loops: adding up a list

Watch a for loop visit every item and build up a running total.

Free
6

while loops, break and continue

Loop until a condition changes; exit early or skip.

Full course
7

Strings and slicing

Index, slice and use string methods.

Full course
8

Lists

Store, add, remove and loop over items in a list.

Free
9

Tuples and sets

Use tuples for fixed data and sets for unique items.

Full course
10

Dictionaries

Map keys to values and look them up fast.

Free
11

Functions

Define functions with parameters and return values.

Full course
12

Default, keyword and *args arguments

Call functions flexibly with defaults and variable arguments.

Full course
13

Scope and mutable objects

See why changing a list inside a function changes it outside.

Full course
14

Recursion

Solve problems by calling a function on smaller input.

Full course
15

List and dict comprehensions

Build lists in one readable line.

Full course
16

lambda, map, filter, sorted

Use small anonymous functions with built-ins.

Full course
17

Errors and try/except

Handle bad input without crashing.

Full course
18

Reading and writing files

Open, read, write and append files safely with 'with'.

Full course
19

Modules and pip

Import standard modules and install packages.

Full course
20

Classes and objects

Create classes with attributes and methods.

Full course
21

Inheritance

Reuse and extend a class.

Full course
22

Iterators and generators

Produce values lazily with yield.

Full course
23

Mini project: quiz game

Combine lists, dicts, loops and functions into an app.

Full course