Fall 2024 - P1
Big Idea 3 | .1 | .2 | .3 | .4 | .5 | .6 | .7 | .8 | .10 |
3.1 Variables and Strings
Team Teach String Operations
- Performing Operations; Usage of Variables
____________________________________________________________________________________________________________________________________________
Performing Operations; Usage of Variables
# define your variables
x = 24
y = 12
# print statements using operations, just as you would for any other data
print(24+12)
print(x+y)
print(x*y)
print(x/y)
36
36
288
2.0