[Tutor] Newb Learning Question

Alan Gauld alan.gauld at btinternet.com
Thu Apr 3 09:48:57 CEST 2008

"bob gailer" <bgailer at alum.rpi.edu> wrote 

> 3rd alternative: if c > 'm': print c

Wow! Amazingly I just assumed you couldn't directly 
compare characters with boolean tests. I don't know 
why I thought that since it must be possible for string 
comparisons, but I did.

You learn something new every day, :-)

Alan G.

More information about the Tutor mailing list