Possible Duplicate:
How does Python compare string and int?
I came across a weird comparison in Python today. Here's what I found:
'101' > -1
True
'101' < -1
False
'101' > 100
True
'101' < 100
False
'101' < 1
False
I'm not sure what these expressions are testing. Any hints would be helpful.