this post was submitted on 07 Jun 2026
206 points (98.6% liked)

Programmer Humor

42398 readers
3 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 7 points 4 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 4 days ago

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

[โ€“] usernamesAreTricky@lemmy.ml 5 points 4 days ago* (last edited 4 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