Skip to content

Free · one concept a day

Python for AI/ML

Fifty interactive lessons take you from your first print() to classes and generators. Each one is a 35-second reel, code you can run, a quiz, and a cheat sheet to keep. All free, all open now.

50
Levels
~35 s
Per level
6
Units
Free
Cost

How it works

  • Watch the 35-second reel for each level.
  • Run the code and take the quiz right on the page.
  • Keep the cheat sheet, and tick the level off. Your progress is saved in this browser.

Your progress · 0 of 50 levels

Start Level 1

Unit 1 · Basics

  1. 01

    print()

    your first line of Python

    Start →
  2. 02

    Comments

    explained with Ammi's biryani

    Start →
  3. 03

    Variables

    explained with PSL scores

    Start →
  4. 04

    Data types

    explained with bazaar mangoes

    Start →
  5. 05

    Type conversion

    explained with rickshaw fare

    Start →
  6. 06

    input()

    explained with a shaadi RSVP

    Start →
  7. 07

    f-strings

    explained with Eid money

    Start →
  8. 08

    Math operators

    explained with a samosa party

    Start →
  9. 09

    += shortcuts

    explained with mobile balance

    Start →

Unit 2 · Decisions & loops

  1. 10

    Comparisons

    explained with Lahore heat

    Start →
  2. 11

    and / or / not

    explained with Abbu's rules

    Start →
  3. 12

    if / else

    explained with load shedding

    Start →
  4. 13

    elif

    explained with exam results

    Start →
  5. 14

    Nested if

    explained with a Careem ride

    Start →
  6. 15

    while loop

    explained with mobile balance

    Start →
  7. 16

    for & range()

    explained with school punishment

    Start →
  8. 17

    break & continue

    explained with gol gappay

    Start →
  9. 18

    Nested loops

    explained with cricket overs

    Start →

Unit 3 · Data structures

  1. 19

    String indexing

    explained with a cousin's number

    Start →
  2. 20

    String slicing

    explained with your ID card

    Start →
  3. 21

    String methods

    explained with a bank form

    Start →
  4. 22

    Lists

    explained with a bazaar list

    Start →
  5. 23

    List methods

    explained with Eid shopping

    Start →
  6. 24

    List slicing & in

    explained with team selection

    Start →
  7. 25

    Tuples & unpacking

    explained with PSL scores

    Start →
  8. 26

    Sets

    explained with a trip list

    Start →
  9. 27

    Dictionaries

    explained with sabzi prices

    Start →
  10. 28

    Looping dicts

    explained with a heatwave

    Start →
  11. 29

    Nested data

    explained with family records

    Start →
  12. 30

    enumerate & zip

    explained with roll call

    Start →
  13. 31

    List comprehensions

    explained with grace marks

    Start →
  14. 32

    Dict & set comprehensions

    explained with mango prices

    Start →

Unit 4 · Functions

  1. 33

    Functions

    explained with Eid wishes

    Start →
  2. 34

    Parameters & return

    explained with rickshaw fares

    Start →
  3. 35

    Default & keyword args

    explained with mobile load

    Start →
  4. 36

    *args & **kwargs

    explained with shaadi salami

    Start →
  5. 37

    Scope

    explained with home WiFi

    Start →
  6. 38

    lambda

    one-line functions with mangoes

    Start →
  7. 39

    map & filter

    explained with exam grace marks

    Start →
  8. 40

    sorted() with key

    sort anything your way

    Start →
  9. 41

    Recursion

    a function that calls itself

    Start →

Unit 5 · Errors, files & modules

  1. 42

    try / except

    stop your code from crashing

    Start →
  2. 43

    raise

    throw your own errors

    Start →
  3. 44

    Files & with

    save your data with open()

    Start →
  4. 45

    JSON

    how apps send data to each other

    Start →
  5. 46

    Modules & import

    use code someone already wrote

    Start →

Unit 6 · Objects & beyond

  1. 47

    Classes & __init__

    build your own data types

    Start →
  2. 48

    Methods

    functions that live inside a class

    Start →
  3. 49

    Inheritance

    children get the parent's code

    Start →
  4. 50

    Generators & yield

    the grand finale: generators

    Start →

Next cohort starts Monday 16 November 2026. Places are limited to 25.

Apply by Thursday 12 November

Applications take ten minutes. We reply within three working days, either way — or just message us on WhatsApp.