Weirdness in python2
So a friend of mine is learning python and was fooling around in the interactive console. They accidentally ran:
'str' > 19
# But they meant to run
'str' > '19'
Can you guess what that evaluated to? Conventional thought would suggest a TypeError, but in fact that evaluates to True. Odd right …