578
submitted 1 week ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 140 points 1 week ago
print("odd" if num % 2 else "even")

That's the native python version, for those curious

[-] [email protected] 9 points 1 week ago

That's way too non-convoluted enough

[-] [email protected] 17 points 1 week ago

Python is kinda like that in general, unless you try to make it read like ass

[-] [email protected] 6 points 1 week ago

You would not believe the number of people I’ve interviewed who excel at making Python read like ass.

[-] [email protected] 6 points 1 week ago

I mean, it does have enough ways to write the same thing that it can really allow for some funny code golf, but some people just have no sense of readability whatsoever.

[-] [email protected] 5 points 1 week ago

Clearly an inferior language. /s

load more comments (1 replies)
load more comments (33 replies)
this post was submitted on 12 Jun 2025
578 points (98.7% liked)

Programmer Humor

24347 readers
1411 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

founded 2 years ago
MODERATORS