Question: Write a code in Python 3 which plays a variation of rock paper scissors. In this variation: . Scissors cut Paper . Paper covers Rock


Write a code in Python 3 which plays a variation of rock paper scissors. In this variation: . Scissors cut Paper . Paper covers Rock . Rock crushes Lizard .Lizard poisons Spock . Spock smashes Scissors Scissors decapitate Lizard .Lizard eats Paper Paper disproves Spock . Spock vaporizes Rock . Rock crushes Scissors The program randomly generates a number 1, 2, 3, 4, or 5 representing Rock, Paper, Scissors, Lizard, and Spock. The program then prompts you to enter a number 1, 2, 3, 4, or 5 and decides who wins, you or the computer. Below are a few sample runs. Please pay attention to the messages that are displayed. Also note how invalid entries are handled. The numbers I typed are shown in green. Your program does not need to produce any color
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
