interactive cs academy · en/ar

Don't just read code.
Watch it run.

Every lesson here executes real code in front of you, line by line — from "what even is a computer?" to Python and beyond. Free, in English and Arabic.

no sign-up to start · progress saved in your browser

trace · lesson previewstep 1/10
1scores = [7, 9, 4]
2best = scores[0]
3for s in scores:
4 if s > best:
5 best = s
6print("best:", best)

variables

scores = [7, 9, 4]
>>> no output yet…

this is how every lesson works — real code, one step at a time.

the path

The roadmap: beginner to master

Follow the steps in order — each one builds on the last. No sign-in needed to start; create a free account any time to save your progress.

  1. 01
    absolute beginner · start here

    How Computers Think

    Know nothing about computers? Perfect. Discover the machine through little games: light switches, secret codes, pixels, logic circuits, and a computer that reads your mind.

    9 playable lessons · no sign-in needed

    Start step 1 →
  2. 02
    start coding · live editor

    Python: First Steps

    You know how the machine thinks — now give it orders. Write and run real Python inside every lesson, from your very first line to building the mind-reader game yourself.

    13 lessons · run code in the browser · en/ar

    Start step 2 →
  3. 03
    go deeper · companion course

    PyDebug — See Python Under the Hood

    A visual step debugger replays Python in slow motion — loops spinning, functions stacking, tracebacks decoded. Dip in alongside First Steps, then let it carry you to generators, decorators, and classes.

    22 topics · 5 sections · step-by-step traces

    Open the companion →
  4. 04
    intermediate · live editor

    Algorithms: Better Recipes

    Why does one program finish in a blink and another in days? Search, sorting and Big-O — taught through step counters you run and watch explode (or not).

    5 lessons · run code in the browser · en/ar

    Start step 4 →
  5. 05
    advanced · build a real model

    Machine Learning: The Flip

    How machines learn from examples instead of rules — ending with a working model you build in 15 lines of pure Python, in your browser.

    4 lessons · run code in the browser · en/ar

    Reach the top →

kids corner

Prog Frog

A block-puzzle coding game for young learners: help the frog reach the fly — no reading, no sign-up. 20 levels + a free-play pond.

Play now →

Start thinking algorithmically today

Create a free account and your progress follows you to every device.

Create a free account