Kent Johnson wrote:
> Luke Paireepinart wrote:
>> Kent Johnson wrote:
>
>>> You can't generate all the float values in a range. (OK, you
>>> probably could, but it would not be practical or useful.) You can
>>> test for a value in a range, e.g.
>>> if 48.35 <= a <= 48.45:
>>>
>> Kent:
>> Why does this work?
>
> It is explicitly supported in Python. See
> file:///C:/Python25/Doc/ref/comparisons.html
Do you mean http://docs.python.org/ref/comparisons.html ?
:)
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor