So, I new in python and i found a bug in my code. With this combination of variable (a,b,c) result of calculation (d) is wrong (0.8999999999999 instead 0.9). Other combination of variable calculate correct. I use python 3.6. What have I missed?
a = 0.3
b = 2
c = 0.6
d = a + (b - 1)*c
print(d)