[Tutor] re: range function
Mike Lange
MLange@atmedicausa.com
Wed, 23 May 2001 09:55:31 -0600
This is a multipart message in MIME format.
--=_alternative 0057EC9287256A55_=
Content-Type: text/plain; charset="us-ascii"
how would I go about creating a range for float-type numbers? I've tried
range(1.0, 1000.0, 4.55) as well as range(float(1.0), float(1000),
float(4.55)) and even float(range(1.0, 1000.0, 4.55)) but none of these
work.
Thanks in advance for the reply,
Mike Lange
Developer
mlange@atmedicausa.com
Phone: 801-517-6944
Fax: 801-517-6990
He who controls vocabulary controls thought.
-Luigi Wittgenstein
--=_alternative 0057EC9287256A55_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">how would I go about creating a range for float-type numbers? I've tried range(1.0, 1000.0, 4.55) as well as range(float(1.0), float(1000), float(4.55)) and even float(range(1.0, 1000.0, 4.55)) but none of these work. </font>
<br>
<br><font size=2 face="sans-serif">Thanks in advance for the reply,</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Mike Lange<br>
Developer<br>
mlange@atmedicausa.com<br>
Phone: 801-517-6944<br>
Fax: 801-517-6990<br>
<br>
He who controls vocabulary controls thought. <br>
-Luigi Wittgenstein </font>
--=_alternative 0057EC9287256A55_=--