Question: Implement function simul() that takes as input an integer n and simulates n rounds of Rock, Paper, Scissors between players Player 1 and Player 2.
Implement function simul() that takes as input an integer n and simulates n rounds of Rock, Paper, Scissors between players Player 1 and Player 2. The player who wins the most rounds wins the n-round game, with ties possible. Your function should print the result of the game as shown. (You may want to use your solution to Problem 5.26.) >>> simul(1) Player 1 >>> simul(1) Tie >>> simul(100) Player 2
I need a python script of this function, as simple as it could be. Thanks for your time!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
