for with decimal values?

Esmail ebonak at hotmail.com
Sat May 2 14:06:51 EDT 2009


bearophileHUGS at lycos.com wrote:
> Esmail:
>> Is there a Python construct to allow me to do something like
>> this:
>>     for i in range(-10.5, 10.5, 0.1):
> 
> Sometimes I use an improved version of this:
> http://code.activestate.com/recipes/66472/

neat .. lots of code to study there. Thanks,
Esmail




More information about the Python-list mailing list