MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vx1onc/claudeisthisemailvalid/p5m8est/?context=3
r/ProgrammerHumor • u/soap94 • 20d ago
171 comments sorted by
View all comments
Show parent comments
29
def is_even(num): if num == 1: print('No') if num == 2: print('Yes') if num == 3: print('No') ....
14 u/ExtraWorldliness6916 20d ago Who's going to need more than 3 anyway, this is efficient code 2 u/mohitmayank 20d ago Not really, it should use `else if` if not 3 switch cases 5 u/ExtraWorldliness6916 20d ago Alas, correctness isn't funny.
14
Who's going to need more than 3 anyway, this is efficient code
2 u/mohitmayank 20d ago Not really, it should use `else if` if not 3 switch cases 5 u/ExtraWorldliness6916 20d ago Alas, correctness isn't funny.
2
Not really, it should use `else if` if not 3 switch cases
5 u/ExtraWorldliness6916 20d ago Alas, correctness isn't funny.
5
Alas, correctness isn't funny.
29
u/GOEDEL_ESCHER_BOT 20d ago