Technology

Coding Puzzle

Read the code, trace through it in your head, and predict exactly what it will print.

Ready to think like a programmer?

Pick a difficulty, then read each short snippet and choose what it prints when it runs.

60s 0 pts Level 1

Well done!

You scored 0 points and reached level 1.

Saved to the leaderboard!

How to play

Each snippet is simple pseudocode-style code — read it top to bottom just like the computer would.

You have 60 seconds and 3 lives — trace through each snippet carefully before answering.

Easy is single statements; Medium adds loops and conditions; Hard adds functions and nested loops.

Leaderboard

Scores are saved on this device only, for this demo.

More games to try