Readable code for almost anything

Python

A general-purpose language known for clear syntax and a huge standard library. The usual first language for data work, automation and backend services. This path has 18 lessons in reading order, from the basics to the ideas that come up in real code, with a runnable example in every lesson.

Beginner-friendlyRuns in your browser
lessons
17 lessons
exercises
9 exercises
interview questions
0 interview questions
challenges
3 challenges

What Python is used for

  • Data science
  • Automation and scripting
  • Web backends
  • Machine learning

How examples are checked

Every example and every exercise solution was run with CPython 3.11 at build time; runs in your browser on CPython 3.14 (Pyodide). The Run buttons execute the same code on your device.

Learn

The Python learning path

Read in order: each lesson leans only on the ones before it. Every lesson ends with a small program to write and links to matching exercises.

See the full curriculum with descriptions →

Practice

Practise Python

9 exercises across 8 topics, each checked by running your program against test cases. Start with these:

All Python exercises

More

Go further