this post was submitted on 23 Aug 2023
147 points (100.0% liked)

Programmer Humor

853 readers
12 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] iso@lemy.lol 8 points 1 year ago* (last edited 1 year ago) (1 children)

🤚True, False

👉 true, false

Please python guys, don’t do this to us 🤦‍♂️

[–] dandroid@dandroid.app 4 points 1 year ago (1 children)

I don't use python too often, but I need to use it every once in a while. Every fucking time I get the red squiggly under "true" and I'm sitting there for a second like, "...the fuck??? Ohhhhh, right."

Every time.

[–] d_k_bo@feddit.de 7 points 1 year ago* (last edited 1 year ago)

Just put

true = False
false = True

at the top of your files.