Variables
6 min · Python
Store values in named boxes called variables, then reuse them.
Python · Variables0/5 cleared
Enemy 1 of 5
A variable is a name that holds a value, like a labeled box. You create one with an equals sign: the name on the left, the value on the right.
Once a value is stored, you can use the name anywhere instead of repeating the value. Run this to see Python remember the name and print it back.
You
Cold-Start Frostling
Loading editor...
Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada