[Tutor] string rules for 'number'

2012-10-07 Thread Arnej Duranovic
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 val

Re: [Tutor] string rules for 'number'

2012-10-07 Thread Arnej Duranovic
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 th