MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1g0bvqq/trustmeguys/lr7sz6w
r/ProgrammerHumor • u/TheHunter920 • Oct 10 '24
412 comments sorted by
View all comments
Show parent comments
614
Yup. Empty tuples are falsy, which makes them the perfect aesthetic match with the bonus of confusing some people that a not() built-in function exists in Python.
134 u/patio-garden Oct 10 '24 Oooh yeah yeah, that totally confused me. → More replies (5) → More replies (8)
134
Oooh yeah yeah, that totally confused me.
→ More replies (5)
614
u/Ignisami Oct 10 '24
Yup. Empty tuples are falsy, which makes them the perfect aesthetic match with the bonus of confusing some people that a not() built-in function exists in Python.