[Tutor] Sequence Comparison
isrgish at fusemail.com
Fri Jan 16 00:11:03 EST 2004
>From: "Gonçalo Rodrigues"<op73418 at mail.telepac.pt>
>Sent: 1/15/04 6:54:19 AM
>To: "tutor at python.org"<tutor at python.org>
>Subject: Re: [Tutor] Sequence Comparison
>Em Wed, 14 Jan 2004 20:33:36 -0500, "Isr Gish" <isrgish at fusemail.com>
>atirou este peixe aos pinguins:
>>Magnus Lycka wrote:
>> >> >>> (1, 2) < (1, 2, -1)
>> >> True
>> >> # i totally didnot understand it
>> >Anything is more than nothing... Why is that difficult
>> >to understand.
>>I would rather think that -1 which is less then 0 whould be less then nothing.
>But 0 is not nothing. It's better than nothing.
>The better analogy is an empty bag and no bag at all. You can still
>put your head inside an empty bag and choke to death.
Thanks now I think I understand this.
IOW 0 is counted as a number, while None is not even a number.
More information about the Tutor