Maia

Ready to start

Python

Python

From values and control through objects and tests. Later headings open after the one before. Write small, correct Python programs — control, functions, data, files, objects, tests — as a first programming course does.

  • 6 headings
  • Ladder
  • Test out a heading you have
Start Python free

Free to start. Sign in with Google or email.

A class on this path

Values and control · First class

Live tutor
Materials for this classReadingPodcastLecture

Pick where you want to start

Each heading is its own course. Later ones open when you finish — or skip — the one before. A later course does not reteach earlier bands.

  1. Values and control

    Start here

    Write a script with variables, if/else, and loops that terminates and produces the right output.

  2. Functions and scope

    After Values and control — test out to unlock

    Write functions with arguments and return values, and trace scope without using globals as a crutch.

  3. Data structures

    After Functions and scope — test out to unlock

    Choose list, dict, set, and tuple for a task, and write a loop that builds or filters one.

  4. Files and errors

    After Data structures — test out to unlock

    Read and write a text file, and catch a specific exception instead of a bare except.

  5. Objects

    After Files and errors — test out to unlock

    Define a small class with __init__ and methods, and use instances without fighting self.

  6. Modules and testing

    After Objects — test out to unlock

    Split code into a module and write a pytest (or unittest) that fails for the right reason then passes.

What this is for

  1. 01

    Write a script with variables, if/else, and loops that terminates and produces the right output.

  2. 02

    Write functions with arguments and return values, and trace scope without using globals as a crutch.

  3. 03

    Choose list, dict, set, and tuple for a task, and write a loop that builds or filters one.

Why a path, not a playlist

From values and control through objects and tests. Later headings open after the one before.

Each heading is its own course with a tutor. Later headings open when you finish — or test out of — the one before.

After you sign in

  • You land on this map — every heading is already there.
  • Take the open class, or test out of a later heading to unlock it.
  • Each heading is one shared course — same syllabus and first class for everyone. Later classes continue on your copy.

Python

Start Python free

Free to start. Sign in with Google or email.