x = 0.6
y = 0.4
print(x + y)
This will output 1.0 to the console.
You could also just do:
print(0.6+0.4)
This will yield the same result.
6.0m questions
7.8m answers