Python does not seem to want to return the correct answer on this loop. I believe the code should stop after the evaluation of t=1.8 as the next value of t, 2.0, is equal to b, not less than.
a=0.0
b=2.0
h=0.2
t=a
print "t = ",t
while t<b:
    t+=h;
    print "t = ",t;
The output is
t =  0.0
t =  0.2
t =  0.4
t =  0.6
t =  0.8
t =  1.0
t =  1.2
t =  1.4
t =  1.6
t =  1.8
t =  2.0
t =  2.2
Any help or recognition of an error would be massively appreciated.
