What is being compared?

Daniel Klein DanielK at jBASE.com
Wed Mar 21 18:59:04 EST 2001


Comparing a string to an integer...

>>> 'a' < 1
0

...what is it actually comparing? Is it 'casting' anything?

Just curious,

Dan





More information about the Python-list mailing list