Skip to content

Practice

>Learn Python by writing Python

Choose a module, edit real code, run automatic checks, reveal hints one at a time and keep every pass on your ID.

// Coding exercises

53

// Topic modules

6

// Progress saving

Create ID

Practise without a signup wall

Every editor and check works now. A free ID stores passes, attempts, XP and your place across devices.

Create a free ID
  1. Module 19 exercises

    Python Basics

    Start writing and running clear Python programs with confidence.

    • Introduction to Python
    • Your First Python Program
    • Python Syntax and Comments
    • Variables and Constants
  2. Module 29 exercises

    Operators and Control Flow

    Use operators and decisions to make your Python programs calculate, compare, and repeat work.

    • Python Operators
    • Input, Output and f-strings
    • if...elif...else Statements
    • for Loops and range()
  3. Module 39 exercises

    Data Structures

    Organize many values with lists, tuples, strings, sets, dictionaries, and comprehensions.

    • Python Lists
    • Tuples
    • Working with Strings
    • Sets and Dictionaries
  4. Module 49 exercises

    Functions and Modules

    Organize reusable code with functions, modules, and practical built-in tools.

    • Functions
    • Function Arguments
    • Scope and Recursion
    • Lambda and Built-in Functions
  5. Module 59 exercises

    Errors, Files and OOP

    Handle problems safely, save data in files, and organize programs with classes.

    • Errors and Exceptions
    • File Handling
    • Classes and Objects
    • Inheritance and Polymorphism
  6. Module 68 exercises

    Practice Projects

    Build four small programs end to end, one step at a time.

    • Project: Number Guessing Game
    • Project: Tip and Bill Splitter
    • Project: Word Statistics Tool
    • Project: To-Do List Manager