On Wed, 14 Feb 2007 17:27:06 +0000, Dale Strickland-Clark wrote: > Steve wrote: > >> 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 > > range only does ints. If you want floats, you'll have to write your own > version.
I was afraid of that. Thanks for the quick reply. Steve -- http://mail.python.org/mailman/listinfo/python-list