← Back to Games

🔓 Code Breaker

Trace the Python code to crack the passcode!

🔐 Can You Crack the Code?

Read the Python code, trace through it step by step, and work out the output.
Enter the passcode to unlock each level!

Variables

Levels 1-3

Arithmetic

Levels 2-5

Selection (IF)

Levels 4-7

FOR Loops

Levels 6-10

WHILE Loops

Levels 8-11

Lists

Levels 9-15

Progress is saved automatically. Your highest level: 1

🏆

MASTER CODE BREAKER!

You've cracked all the codes!

Final Score: 0

🔓 UNLOCKED!

+10 points