list of range of floats

Steve samckain at southslope.net
Wed Feb 14 12:12:31 EST 2007


I'm trying to create a list range of floats and running into problems. 
I've been trying something like:

a = 0.0
b = 10.0

flts = range(a, b)

fltlst.append(flts)   

When I run it I get the following DeprecationWarning: integer argument 
expected, got float. How can I store a list of floats?

TIA
Steve




More information about the Python-list mailing list