⬅ Back to Profile

🐍 Python Arcade: 12 Levels

Press buttons. Boss the computer around.

1. Make it Talk

Use print() to make the computer say whatever you want!

print("Hi Human!")

2. Speedy Math

Computers do math instantly. Multiplication uses the * star key!

print( 50 * 2 )

3. Magic Storage Box

A variable is just a labelled box that holds your stuff.

food = "🍕 Pizza"
print(food)

4. Word Glue

Use the + sign to glue words together into one monster word!

print("Robo" + "Cat")

5. The Echo Machine

Multiply a word by a number to repeat it instantly.

print("Bye! " * 3)

6. Letter Counter

len() counts every letter inside a word so you don't have to!

print( len("Supercali") )

7. SHOUTING MODE

Turn any lowercase text into ALL CAPS with .upper().

print("pizza".upper())

8. Smart Questions

Ask the computer a question and it answers True or False.

print( 100 > 5 )

9. The Toy Chest (Lists)

Square brackets [ ] hold a whole list of items together.

bag = ["🎮", "🍕", "🏎️"]
print(bag)

10. Making Choices

Use if to tell the computer to only do something when a condition is met.

if 5 > 2:
print("YES IT IS!")

11. The Repeat Loop

Don't code stuff 3 times. Use a for loop to repeat it!

for i in range(3):
print("JUMP! 🦘")

12. Create Your Own Command

Use def to build your own customized superpower!

def roar():
print("RAWR! 🦁")

roar()