Python Programming

Courses that take you from your first print() to functions, errors, and modules. Every course ends with a coding exercise you run in the browser.

Beginner 2 h

Python First Steps

Run your first program and learn how Python prints text.

Beginner 3 h

Loops

Repeat work with for and while loops.

Beginner 3 h

Lists and Tuples

Keep ordered collections of values and work with their items.

Intermediate 4 h

Functions

Package reusable logic with parameters and return values.

Intermediate 3 h

List Comprehensions

Build a new list from an existing one in a single readable line.

Intermediate 2 h

Tuples and Unpacking

Return several values at once and unpack them into separate names.

Advanced 4 h

Recursion

Solve problems where a function calls itself on a smaller piece of the problem.

Intermediate 4 h

Classes and Objects

Group related data and behaviour together with your own classes.

Advanced 4 h

Decorators

Wrap a function to add behaviour before or after it runs, without changing its code.

Intermediate 3 h

Working with JSON

Convert Python data to JSON text and back with the json module.

Intermediate 3 h

Testing Your Code

Check that your functions behave correctly with assert statements.

Intermediate 3 h

Set Operations

Combine, compare and filter collections using union, intersection and difference.

Intermediate 3 h

Lambda, map and filter

Write small anonymous functions and apply them to whole collections.