this post was submitted on 03 Aug 2025
763 points (98.5% liked)

Programmer Humor

38614 readers
161 users here now

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

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] xavier666@lemmy.umucat.day 5 points 2 months ago
if n% 2 == 0:
    print("Even")
else:
    print("Odd")
if (n+1)%2 == 0:
    print("Even")
else:
    print("Odd")
.
.
.