Is there a way to step between 0 and 1 by 0.1?
I thought I could do it like the following, but it failed:
for i in range(0, 1, 0.1): print i
And if you do this often, you might want to save the generated list r
r
r=map(lambda x: x/10.0,range(0,10)) for i in r: print i