← Back to All Lessons

Variables and Numbers

ProgressStep 1 of 5

Step 1: What is a Variable?

A variable is like a box that stores information. Instead of writing the same number over and over, you can: 1. Store it in a variable 2. Use the variable whenever you need it Syntax: variable_name = value Let's see it in action!
Code Editor
Initializing editor...
💻 Output:
Click 'Run Code' to see output here...