Write a code that gives the winner of the game rock paper scissors.
Inputs | Outputs |
---|---|
player1: Rock Player2: paper |
The winner is player 2 |
player1: Scissors Player2: paper |
The winner is player 1 |