The Python Oracle

Adding 1 to a set containing True does not work

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: Puzzle Game 5 Looping

--

Chapters
00:00 Question
01:59 Accepted answer (Score 8)
02:59 Thank you

--

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

Question links:
[Is False == 0 and True == 1 in Python an implementation detail or is it guaranteed by the language?]: https://stackoverflow.com/questions/2764...

--

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

--

Tags
#python #python3x

#avk47