This sucks.
Steve Holden
sholden at holdenweb.com
Fri Mar 7 08:52:23 EST 2003
"Tetsuo" <member16943 at dbforums.com> wrote in message
news:2614138.1047017673 at dbforums.com...
>
> No matter how much I look at my code, I can't see how 0>=10. I fixed a
> few things today, but the program still beyond fails.
>
It's all a question of what you're comparing:
>>> 0 >= 10
0
>>> "0" >= 10
1
>>>
Remember that Python data is strongly-typed!
regards
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list