this post was submitted on 15 Aug 2025
23 points (96.0% liked)
Programmer Humor
25705 readers
1328 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Python doesn't have
true
orfalse
keywords, nor any other primitives by those names.So either you're thinking of a different language, or different identifiers, or someone assigned equal values to variables with those names and then blogged about it.
This changed in 3.0 to my knowledge. Ref: https://wiki.python.org/moin/Python3.0#f
That change is about
True
andFalse
, nottrue
andfalse
. If OP was thinking of the former pair, it would seem my "different identifiers" guess was correct.