How does Python 2 compare string and int? Why do lists compare as greater than numbers, and tuples greater than lists?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Romantic Lands Beckon
--
Chapters
00:00 Question
00:50 Accepted answer (Score 210)
02:54 Answer 2 (Score 24)
03:14 Thank you
--
Full question
https://stackoverflow.com/questions/3270...
Question links:
[as seen on ideone.com]: http://ideone.com/1z1r0
Accepted answer links:
[python 2 manual]: http://docs.python.org/2/library/stdtype...
[no language specification]: https://stackoverflow.com/questions/1094...
[language reference]: https://docs.python.org/2/reference/expr...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #types #comparison #python2x
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Romantic Lands Beckon
--
Chapters
00:00 Question
00:50 Accepted answer (Score 210)
02:54 Answer 2 (Score 24)
03:14 Thank you
--
Full question
https://stackoverflow.com/questions/3270...
Question links:
[as seen on ideone.com]: http://ideone.com/1z1r0
Accepted answer links:
[python 2 manual]: http://docs.python.org/2/library/stdtype...
[no language specification]: https://stackoverflow.com/questions/1094...
[language reference]: https://docs.python.org/2/reference/expr...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #types #comparison #python2x
#avk47