+ 2
How I can improve this? / Cómo puedo mejorarlo
It's a game: piedra papel tijera Juego piedra papel tijera https://code.sololearn.com/cgDhpLufWanI/?ref=app
2 Respostas
+ 2
Bilbo Baggins, I have another, maybe more readable version. :)
Leandro Blandi, you don't need to write out all nine conditions, you can reduce the testing by quite a lot. Only look at the conditions part (you have to modify it a bit for your version):
https://code.sololearn.com/cq5P97pbm7Y4/?ref=app