✦ Code Lab · Python
🐍 Python
The friendliest language in the world — loved by scientists, game makers and AI builders. Lessons unlock in order — finish one to open the next.
⭐ 0 XP · 🔥 0 day streak
0 of 8 lessons done
Say Hello
Your mission: print two messages — first Hello, Code Lab!, then I am learning to code. — each exactly as written, each on its own line.
▶ Start 2Meet Variables
Your mission: put Nova in the hero box and Pip in the sidekick box. The printing lines are already written for you.
▶ Start 3Number Power
Your mission: fix the three sums so the screen shows 12, then 7, then 24.
▶ Start 4Word Builder
Your mission: use the two word boxes to print Code Lab, then print Code Lab! on the next line.
▶ Start 5Big or Small?
Your mission: finish the two choices. A score of 85 should print You pass!, and an age of 7 should print Kid coder.
▶ Start 6Loop the Loop
Your mission: the loop below stops after 2. Fix the range so it counts 1, 2, 3, 4, 5 — each on its own line — and the Done! line after the loop will print itself.
▶ Start 7Treasure Lists
Your mission: print the first fruit, print how many fruits there are, add "mango" to the list, then print the new count and the new last fruit.
▶ Start 8Make a Machine
Your mission: finish the double machine so it hands back its input times two, and earn your Python certificate. The lines below the machine already test it with 4 and 9.
▶ StartFinish all 8 lessons to unlock it.
Stuck is part of coding.
Every lesson has a hint that nudges without spoiling. Read, try, run, adjust — that loop is the whole skill.