<float>range(0.0,100.0,0.1)

Warren Postma embed at geocities.com
Wed May 17 15:57:30 EDT 2000


how do you do this:

for i in range(0.0, 100.0, 0.1):
    print i

range doesn't like a non-integer step and won't produce a list of floats
instead of integers.

Warren





More information about the Python-list mailing list