Try to calculate the following on python shell:
>>> 5.3-2.7
2.5999999999999996
>>> 2.8-2.7
0.09999999999999964
>>> 4.7-2.8
1.9000000000000004
>>> 4.3-2.5
1.7999999999999998
>>>
Why does it happen? How can I prevent this problem from making bugs in my code?