Youl should see a difference if you use the floating point in line 8.
If you write
print 3 + 2 + 1 - 5 + 4 % 2 -1.0 / 4 + 6
it prints 7.
But if you use
print 3 + 2 + 1 - 5 + 4.0 % 2 -1.0 / 4 + 6
the answer is 6.75, because python now knows it has to stop round up and down. Then it gives you the exact solution.