Live Engine
Select Topic
easyType Conversion
The previous topic showed that int + float always produces a float. Given this code, what is the exact output and what Python rule produces it?
Code
a = 10 # int
b = 3.0 # float
c = a / b
d = a // b
print(type(c), c)
print(type(d), d)