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.
357
Upvotes
r/badcode • u/fnieidhfenmbvfekh • Mar 30 '23
View all comments
81
u/thekwoka Mar 30 '23 edited Mar 30 '23
let's get stupid
Rock paper scissors doesn't need an if tree or switches. Just math.