r/badcode • u/fnieidhfenmbvfekh • Mar 30 '23
python Another legendary code from high-school. This one was in Python though. This is for a rock-paper-scissors game.
358
Upvotes
r/badcode • u/fnieidhfenmbvfekh • Mar 30 '23
View all comments
Show parent comment
2
u/mfb- Mar 30 '23
Well, it's not changing any score, that on its own is not wrong. It's just unnecessary. Python has "pass" as "do nothing" statement when the if/else structure requires an indented block.