Conditionals and loops: Rock, paper, scissors

2. Write a pyhton program, RoSciPa_YI.py that plays the rock-paper-scissors game against the computer. When played between two people, each person picks on e of three options (usually shown by a hand gesture) at the same time, and a winner is determined.

In the game, rock beats scissors, scissors beats paper, and paper beats rock. The program should randomly choose one of the three options (without revealing it), then ask for the user’s selection. At that point, the program reveals both choices and prints a statement indicating that the user won, that the computer won, or that it was a tie. Keep playing until the user chooses to stop, then print the number of user wins, losses, and ties.

rock-paper-scissors-freebie