When I type this in the python idle shell ( version 3...) : '0' <= '10' <= '9' The interpreter evaluates this as true, WHY? 10 is greater than 0 but not 9 Notice I am not using the actual numbers, they are strings...I thought that numbers being string were ordered by their numerical value but obviously they are not? Can anyone explain this to me and explain how strings with numbers in them are ordered?
Thx in advance.
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor