Question: Complete this question without the use of functions please. But still include notes explaining the programming. Language is Python 3.6 Simulate a game of Rock,

Complete this question without the use of functions please. But still include notes explaining the programming. Language is Python 3.6

Complete this question without the use of functions please. But still include

Simulate a game of "Rock, Paper, Scissors". If you are unfamiliar with the game, there is a good description on Wikipedia. In general, both players randomly choose a signal from rock", "paper" and "scissors". Rock beats scissors, scissors beats paper, paper beats rock. If both players choose the same signal, it is a push", and neither player wins Create an array, where each element of the array is a string, one for each signal. Use random choice to randomly choose an element from the list of signals. Create a simulation that runs 100 rounds of Rock, Paper, Scissors" between two players named "Right" and "Left". Track how many times the right wins, how many times left wins, and how many pushes there are Using the seed 42, your result should be: Trials: 100, Left win %: 40.0, Right win %: 36.0, Push %: 24.0 How do the results change if left only ever uses rock? Optional: Make sure that right player uses the same signals as the previous trials Simulate a game of "Rock, Paper, Scissors". If you are unfamiliar with the game, there is a good description on Wikipedia. In general, both players randomly choose a signal from rock", "paper" and "scissors". Rock beats scissors, scissors beats paper, paper beats rock. If both players choose the same signal, it is a push", and neither player wins Create an array, where each element of the array is a string, one for each signal. Use random choice to randomly choose an element from the list of signals. Create a simulation that runs 100 rounds of Rock, Paper, Scissors" between two players named "Right" and "Left". Track how many times the right wins, how many times left wins, and how many pushes there are Using the seed 42, your result should be: Trials: 100, Left win %: 40.0, Right win %: 36.0, Push %: 24.0 How do the results change if left only ever uses rock? Optional: Make sure that right player uses the same signals as the previous trials

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!