In this excercise
number_of_coffees is of type int. While printing out the result is float.
Do int values are always converted to float before calculations?
Also why does
coffee_price is printed out
1.50 ?. need little clarification on precision.
coffee_price = 1.50 number_of_coffees = 4 # Prints "6.0" print(coffee_price * number_of_coffees) #calculates (1.50 * 4.0) # Prints "1.5" print(coffee_price)