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.
9.2m questions
11.9m answers