0

Help me find the bug in my code RockPaperScissors

Please help me find the bug in my code RockPaperScissors. The code runs fine and returns what it has to unless the computer and you type the same (e.g computer = scissors and you = scissors). I cannot find the problem. Thx in advance. https://code.sololearn.com/WWyqELzJnl76/#html

4th Jul 2018, 9:07 AM
Rostislav Nemec
Rostislav Nemec - avatar
3 Respuestas
+ 1
At line 15 you forgot to return the message: return "The game is a tie!";
4th Jul 2018, 9:18 AM
TurtleShell
TurtleShell - avatar
+ 1
You miss return in line 15. Hope this helps.
4th Jul 2018, 9:19 AM
Meet Mehta
Meet Mehta - avatar
0
Thanks a lot
4th Jul 2018, 9:22 AM
Rostislav Nemec
Rostislav Nemec - avatar