Welcome to the World of Code
๐ฎ Your Journey Begins Here!
In our book, Python for Kids from 8 to 88, we promised you a secret map to a world where you can create anything. This is the first step on that map.
Programming isnโt about being a math genius. Itโs about giving clear instructions. Think about how you tell a friend to get to your house, or how you tell a dog to sit. Computers are just like very obedient dogsโthey need you to tell them exactly what to do.
๐บ๏ธ YOUR ADVENTURE MAP
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. Hello Python โ YOU ARE HERE โ
โ 2. Magic Boxes (Variables) โ
โ 3. Talking to Computer โ
โ 4. Making Decisions โ
โ 5. Loops โ
โ 6. Debugging is Fun โ
โ 7. Types โ
โ 8. Lists โ
โ 9. Functions โ
โ 10. GRADUATION! ๐ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Setting Up Your Workshop

Before we cast spells, we need a wand. For programmers, that wand is the Python Interpreter.
Option A: The โInstantโ Way (No Installation)
If you want to start right now, go to Replit.com or Trinket.io. You can write code in your browser without installing anything. Itโs like borrowing a wand!
Option B: The โProโ Way (Install on Computer)
- Go to python.org.
- Download the latest version for your computer.
- Install it.
- IMPORTANT: Check the box โAdd Python to PATHโ. This is like giving your computer the keys to the kitchen.
IDLE is your playground. Itโs where you type code and see what happens.
Your First Spell: print()

In Python, the word print doesnโt mean โsend to a paper printer.โ It means โShow this on the screen.โ
Type this into your editor:
print("Hello!")
Now run it. (In IDLE, press F5. In Replit, hit the big green โRunโ button).
You should see:
Hello!
Why It Works
print: The command. It tells the computer โSay something.โ(...): The parentheses hold the message."...": The quote marks wrap the text so the computer knows itโs a word, not a command.
๐ Try This NOW!
Before reading further, can you predict what this will print?
print("I am")
print("awesome")
Click to see if you were right!
It prints: ``` I am awesome ``` Each `print()` makes a new line!Challenge
Can you make the computer say your name? Can you make it say โI am a coderโ?
Bonus Challenge: Make it print your name AND your favorite food on separate lines!
What Just Happened?
You gave an instruction. The computer obeyed. You didnโt just use a computer; you commanded it.
๐ Achievement Unlocked: First Spell Caster! Youโve reached Wizard Level: Apprentice
๐ Todayโs Spell Book (Quick Reference)
print("text") # Makes the computer say something on screen
# This is a comment - Python ignores it (secret notes!)
Common Mistakes & Fixes
โ Wrong: print(Hello)
Why it fails: Python thinks Hello is a variable name!
โ
Right: print("Hello")
The quotes tell Python it's text!
โ Wrong: print("Hello)
Why it fails: Missing closing quote
โ
Right: print("Hello")
Always close your quotes!
โ Wrong: Print("Hello")
Why it fails: Capital P! Python is picky about capitals.
โ
Right: print("Hello")
It must be lowercase p!
๐ Bug Hunter Betty Says:
โDid you get red text? GREAT! That means youโre trying things! Read the error message like a detective. It usually tells you exactly what line has the problem.โ
๐ก Parent/Teacher Tip
If your learner sees red error text, thatโs PERFECT! Making mistakes is how we learn. Encourage them to read the error message like a detective finding clues. Ask: โWhat line number does it mention? What do you see on that line?โ
๐ Real-World Connection
Every app on your phone uses print-like commands! When Instagram shows you a post, or when Minecraft displays your score, the code is telling the screen โShow this!โ just like your print() command.
In the next lesson, weโll learn how to make the computer remember things for us.
This post is part of the Python Basics for Kids series, based on โPython for Kids from 8 to 88โ.