Skip to content
BetaDE
Free · no sign-up · no tracking

Learn to code.
From zero to pro.

Python right in your browser – you write real code from the very first minute. Later you'll use it to control robots.

💡 New here? First: what is Python anyway?

Beta test running – found a bug? Tell us →

  • Runs in your browser
  • Checked instantly
  • Watch code step by step
  • Draw with Python
# Press ▶ Run!
import turtle

turtle.bgcolor("#0b0718")
t = turtle.Turtle()
t.speed(10)
colours = ["violet", "cyan", "deeppink", "gold"]

for i in range(150):
    t.color(colours[i % 4])
    t.forward(i * 1.8)
    t.left(91)

print("Welcome to Codelix!")

Placement test · 3 minutes

How good is your Python already?

Up to 10 short questions: what does the code print? Afterwards you know which lesson to start with. The result stays in your browser.

Python learning path

Your path, step by step

All 35 lessons →
Tasks of the dayNew every day – and the same for everyone. Who gets the longest streak?
Puzzle of the weekBroken code, the same for everyone – new every week. Can you find the bug?
Python cheat sheetAll the important commands on one page – to look up and print.

Training room

Practice without limits

Predict output, spot errors, fix code – every task is new. With XP, streaks and a daily goal.

New · with simulator

Program robots with LEGO SPIKE

Pybricks code from the book “Python for Robots” – drive, measure, follow lines, right in your browser.

New · your own games

Programming games

Catch game, snake game and paddle duel – with a game loop and keyboard controls, right in your browser.

New · second language

JavaScript – the language of the web

Runs in every browser. With examples, tasks and automatic checks – if you know Python, you'll recognise a lot.