Numbers & Math
6 min · Python
Use Python as a calculator — and do math with your variables.
Python · Numbers & Math0/5 cleared
Enemy 1 of 5
Python is a calculator. If you print a math expression, it works out the answer first and prints the result.
Run this — notice it prints 5, not the text 2 + 3, because there are no quotes around it.
You
Bug Slime
Loading editor...
Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: 5