+ 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

7th Jan 2020, 5:53 AM
el3be - avatar
2 Answers
+ 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
7th Jan 2020, 7:50 AM
HonFu - avatar
7th Jan 2020, 6:26 AM
Bilbo Baggins
Bilbo Baggins - avatar