This sucks.
Simon Burton
simonb at webone.com.au
Fri Mar 7 16:49:32 EST 2003
On Fri, 07 Mar 2003 13:52:23 +0000, Steve Holden wrote:
> "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
>>>>
>
what the ? how/why are strings comparable to ints??
oh my goly:
>>> "">[]>{}>1
1
what's the use of this :) i think i'd rather have an exception than
be able to compare these guys!
Simon Burton.
More information about the Python-list
mailing list