Conversion Between Ints and Floats
If you mix ints and floats in an expression, the result will always be a
float.
Note that when you divide twoints, you get afloatback.
A value can be explicity coerced (i.e. converted) using theintandfloatfunctions.
Calling theintfunction on a float truncates everything after the decimal point.
2.0 + 3 # 5.0
12 / 2 # 6.0
int(12 / 2) # 6
int(-2.9) # -2