๐Ÿ Python Tutorial

๐Ÿ Python Tutorial

Six small projects, each โ‰ˆ1 hour. By the end youโ€™ll have written your own Python program, art, animations, and a real Snake game.

The course is adapted from the Raspberry Pi Foundationโ€™s โ€œIntroduction to Pythonโ€ pathway (used under CC BY-SA 4.0), with their inline-editor concept preserved here in your browser.

6-project course โ€” all 6 projects built! ๐ŸŽ‰

ย  Project Type What you build
๐Ÿ”“ 1 โ€” Hello World Explore Interactive program: greet by name, roll a dice, mix emojis
๐Ÿ”“ 2 โ€” Target Practice Explore An archery game (with if / elif / else)
๐Ÿ”“ 3 โ€” Rocket Launch Explore An animated rocket (with for loops)
๐Ÿ”“ 4 โ€” Make a Face Design Your own face, monster, or alien
๐Ÿ”“ 5 โ€” Snake! Design The classic Snake game
๐Ÿ”“ 6 โ€” Invent Your Own Invent Something all yours

Each project ends with a working program you can run, change, and show off.


๐Ÿ’ก Three big tips


๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง For parents โ€” the Solution button is PIN-locked

Every step has a ๐Ÿ’ก Solution button that fills in the answer. To stop kids from tapping it the moment they get stuck, it asks for a parent PIN the first time itโ€™s used per browser tab.

(Itโ€™s a friction barrier, not real security โ€” anyone determined could read the PIN in the page source. But it does the job of โ€œask your parent first.โ€)