Math with Variables
Calculate using stored values.
Math With Boxes! 📦🧮
Now for the grand finale: doing math with your memory boxes!
Put numbers in boxes, then add them up! 🎉
a = 5
b = 3
print(a + b)Add Two Boxes ➕
If a box holds 5 and another holds 3, you can add them!
The computer adds what is inside. 5 + 3 = 8! 🧠
apples = 4
oranges = 6
print(apples + oranges)All lessons in this course
- Adding and Subtracting
- Multiplying and Dividing
- Whole Numbers and Decimals
- Math with Variables