Aahz a écrit :
In article <mailman.4975.1241277173.11746.python-l...@python.org>,
Esmail <ebo...@hotmail.com> wrote:
Is there a Python construct to allow me to do something like this:
for i in range(-10.5, 10.5, 0.1):
...
If there is such a thing already available, I'd like
to use it, otherwise I can write a function to mimic this,
but I thought I'd check (my search yielded nothing).
Write a function
Else you can work on integers - for i in range (-105, 105) - and divide
by ten just below... but concerning performances I don't know if it's a
good idea ^^
Regards,
Pascal
--
http://mail.python.org/mailman/listinfo/python-list