Find the 6 things with code
Found: 0 / 6
BEFORE PYTHON
Games, robots, rockets, cartoons and music all run on code. Let's go find it!
ONE DAY, LOTS OF CODE
You can't see it, but it is there. Follow one day and spot it.
Code counts the minutes and wakes you up on time.
Code waits, then switches red, yellow, green.
Code compares your answer with the right one.
Code adds +10 every time you grab a coin.
Code counts down 2 minutes and beeps.
Code helped animators move every hair and drop of water.
Code picks the next song when one ends.
CODE HUNT
Tap every thing that has code inside. There are 6.
Found: 0 / 6
AMAZING PLACES
Each card shows a tiny peek of what the code could look like. Soon you will read it!
Moves characters. Saves points. Checks who wins.
if coins == 100:
lives = lives + 1Drives rovers on Mars. Points telescopes at faraway stars.
if rock_ahead:
turn_left()Moves hair, water and snow in cartoons, frame by frame.
for frame in range(24):
draw(frame)Plays the next song. Mixes beats. Makes sounds louder or softer.
volume = volume + 1Helps doctors read X-rays. Counts heartbeats. Guides tiny robot arms.
if heartbeat > 120:
alert()Tells robots when to move, stop and turn.
if wall_ahead:
turn()Compares routes. Shows where to turn.
if traffic:
find_new_route()Finds a title. Remembers where you stopped.
print("Keep watching?")Checks answers. Counts streaks. Opens the next level.
streak = streak + 1App names are examples only. PyBot is not connected to them.
PYTHON IS A SUPERSTAR
PyBot speaks Python. So do many scientists and app makers.
In 2019, scientists showed the first photo of a black hole. Python helped them put the picture together.
Big apps, like Instagram, use lots of Python to keep running.
Scientists at places like NASA use Python to study planets, weather and animals.
Kids code small robots, tiny computers and Minecraft worlds with Python.
YOUR FIRST CODE
Press Run Python. The computer does exactly what the code says.
PyBot's hint
Ready. Press Run Python.
Pyodide 314.0.3 runs CPython in your browser with WebAssembly.
Open-source under the Mozilla Public License 2.0. License
Now change one thing: Change the words inside the quotes. Write your name! Then run it again.
YOUR TURN
Try each tiny question. A wrong answer becomes something to review.
Who added the 10 points?
How does it know what to do?
What does its code tell it to do?
What small job does the code do now?
Which one has NO code inside?
Who writes it?
What is a big app made of?
Want a fresh start? Clear only this page.
People write those jobs in code. You will learn one small job at a time.