CodeAgeBy Sitezack
Python for BuildersPython basics0 XP
Chapter progress0/5

Lesson 2 of 5

Variables, your treasure boxes

A variable is a box with a name where you store a value to reuse it later.

You create one with the = sign: score = 100 puts the value 100 into the box called score.

score = 100
print(score)

🎯 Your mission

Create a variable level with the value 5, then print it with print().

main.py
Loading editor…
Loading Python…

Output

Run your code to see the result here.