this post was submitted on 07 Jun 2026
178 points (97.8% liked)

Programmer Humor

42408 readers
6 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
[โ€“] roz@lemmy.blahaj.zone 6 points 5 days ago (2 children)

What's worse, that Python doesn't need semicolons, or that if used, they are ignored? ๐Ÿค”

[โ€“] ViatorOmnium@piefed.social 13 points 5 days ago

They are not ignored, you can use them to put multiple statements in one line

[โ€“] usernamesAreTricky@lemmy.ml 5 points 5 days ago* (last edited 5 days ago)
>>> print("proof by counterexample in a python REPL")
proof by counterexample in a python REPL
>>> x = 2; print(x)
2
>>> print("this is not ignored"); print("it's just mostly useless"); print("but you can use as many as you want")
this is not ignored
it's just mostly useless
but you can use as many as you want