Back
+10 XP
Concept

Variables

A variable is a name tag slapped onto a piece of data:

python
score = 100
print(score)  # Prints: 100

# 7. Variables A variable is a name tag slapped onto a piece of data: ```python score = 100 print(score) # Prints: 100 ``` The single `=` doesn't mean "equals" like in algebra class. It means: *"take whatever is on the right and shove it into the label on the left."*

Checkpoint

In `coins = 50`, what does the `=` sign actually do?

Practice

Create a variable named `user` storing `"Neo"`, then print it on the screen.

Terminal
01
Tap code blocks below to assemble
Available Blocks