The Python Oracle

How does Python 2 compare string and int? Why do lists compare as greater than numbers, and tuples greater than lists?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping

--

Chapters
00:00 How Does Python 2 Compare String And Int? Why Do Lists Compare As Greater Than Numbers, And Tuples G
00:42 Accepted Answer Score 210
02:14 Answer 2 Score 24
02:26 Thank you

--

Full question
https://stackoverflow.com/questions/3270...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #types #comparison #python2x

#avk47