<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Aahz a écrit :
<blockquote cite="mid:gtho67$2qa$1@panix3.panix.com" type="cite">
  <pre wrap="">In article <a class="moz-txt-link-rfc2396E" href="mailto:mailman.4975.1241277173.11746.python-list@python.org"><mailman.4975.1241277173.11746.python-list@python.org></a>,
Esmail  <a class="moz-txt-link-rfc2396E" href="mailto:ebonak@hotmail.com"><ebonak@hotmail.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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).
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Write a function
  </pre>
</blockquote>
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 ^^<br>
<br>
Regards, <br>
Pascal<br>
</body>
</html>