[Tutor] string rules for 'number'

Arnej Duranovic arnejd5 at gmail.com
Mon Oct 8 02:51:04 CEST 2012

Alright guys, I appreciate all your help SO much. I know understand, as the
gentleman above said " A string is a string is a string" doesn't matter
what is in it and they are ordered the same way...BUT this is what was
going through my head. Since letters are ordered in such a way that A is
less than B, for example, I thought the same applied to numbers, I was very
very wrong, as you guys have pointed out. I did not read it anywhere, it
was just that logic was going through my head when I was writing the code
and when it said that '10' is less than '9' I was like... WUT? But thanks
again for all your help, I understand how STRINGS are ordered now :P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20121007/ad22475e/attachment.html>

More information about the Tutor mailing list