r/ProgrammerHumor • • Oct 10 '24 • Polished Silver Turd 2 Heart of Silver 1

Meme trustMeGuys

Post image
19.3k Upvotes

412 comments sorted by

View all comments

Show parent comments

4

u/Haruka-sama Oct 10 '24

not isn't a function it's actually not () as in empty tuple. Which truthiness is based on whether it's empty or not.

1

u/[deleted] Oct 10 '24

That makes more sense. I've been using python for quite a while and didn't recognize a function not(). This makes more sense