Wake Pip. Learn Python.

Write Python in your browser. Each mission brings a broken robot back to life. The first lesson is free and takes about a minute.

See the full course

  • Try the first drills
  • No install
  • Instant check

How it works

  1. 1

    Read a short mission.

    Each chapter teaches one idea, then a mission uses it in the game.

  2. 2

    Write Python.

    Your code stays in the browser. Nothing is uploaded to run it.

  3. 3

    Watch Pip wake up.

    Passed missions stay in the game you keep. Open it any time.

0 von 23 Lektionen abgeschlossen

Kapitel 0: Erster Start

Gratis: Weck Pip auf, einen kaputten Roboter, mit print().

Kapitel 1: Variablen und Zahlen

Gratis: Speichere Werte und aktiviere Pips HUD.

Kapitel 2: Zeichenketten

Gratis: Arbeite mit Text und gib deinem Roboter einen Namen.

Kapitel 3: Bedingungen

Gratis: Triff Entscheidungen und gib Pip funktionierende Beine.

Kapitel 4: Schleifen

Pro: Wiederhole Arbeitsschritte und lass Pips Karte aufleuchten.

Kapitel 5: Listen

Pro: Halte viele Werte zusammen und fülle Pips Inventar.

Kapitel 5b: Tupel

Pro: Speichere Koordinaten als Paare und setze Kartenpins für Pip.

Kapitel 6: Dictionaries

Pro: Schlage Dinge über ihren Schlüssel nach und gib den Maschinen ihre Dialogzeilen.

Kapitel 6b: Sets

Pro: Halte einzigartigen Schrott und lass Pip ein Rezept basteln.

Kapitel 7: Funktionen

Pro: Bring Pip bei, kaputte Maschinen zu reparieren.

Kapitel 7b: Generatoren

Pro: Liefere Koordinaten nacheinander mit yield und schick Pip auf Patrouille.

Kapitel 8: While-Schleifen

Pro: Wiederhole, bis sich etwas ändert, und gib Pip einen Akku, der sich leert.

Kapitel 9: Fehler

Pro: Fange fehlerhafte Eingaben ab und repariere Pips fehlerhafte Sensoren.

Kapitel 10: Klassen

Pro: Bündle Daten und Aktionen und bekämpfe einen Glitch.

Kapitel 10b: Vererbung

Pro: Erstelle eine Unterklasse von Glitch mit super() und kämpfe gegen einen abgeschirmten Boss.

Kapitel 11: Module, JSON und Dateien

Pro: Speichere das Spiel und lade dann das Spiel herunter, das du gebaut hast.

Daten 1: Dateien und CSV

Pro: Lies das Sensorprotokoll der Data Mine.

Daten 2: Comprehensions

Pro: Filtere und erstelle Listen in einer Zeile und finde die Hotspots.

Daten 3: Sortieren und lambda

Pro: Ordne die stärksten Messwerte nach Rang.

Daten 4: Zählen und Datumswerte

Pro: Counter, defaultdict und Datumswerte sowie ein Diagramm der Mine.

Daten 5: Statistik

Pro: Mittelwert, Median und eine Zusammenfassung der Mine.

Funk 1: match

Pro: Decodiere Funk-Tokens mit match und wecke den Mast.

Funk 2: Reguläre Ausdrücke

Pro: Ziehe Zone und Code aus verstümmelten Sendungen.

Wake Pip. Learn Python.

Python DailyDrills is practice in the browser: you write real Python, press Check, and a piece of the game comes alive. Nothing to install. The first lesson is free and takes about a minute.

Fragen, die Leute stellen

Does my code leave the browser?

No. Python runs on your computer in the page. We never store or run your mission code on our servers.

Who is Pip?

A small repair robot that has washed up on the Scrap Isle with every system offline. Your first lines of Python give it a voice; later missions restore the rest.

What is the game I keep?

Each chapter ends with a mission. Passed missions stay in the game: the island, Pip, and the machines you repair. You can open it any time, and later download the game you built.

Ist es wirklich kostenlos?

The first 4 lessons are free to try, with no account and no credit card. Sign up free to continue; Pro unlocks the rest of the course.

See also the game, the guides and the Python reference.

Wake Pip. Learn Python.

Wake Pip