Do Now: 2.02
Open up the terminal. Type the following code.
x_stage1 = 123
y_stage1 = 456
x_stage2 = str(x_stage1)
y_stage2 = str(y_stage1)
print(x_stage2 + y_stage2)
What type are the variables x_stage1
and x_stage2
?
What type are the variables x_stage2
and y_stage2
?
How would you convert a string, '100'
to an integer?