Question: i need this in python thanks 1. Your program will use the following block of code (at the start) to determine the opposing player's move:
1. Your program will use the following block of code (at the start) to determine the opposing player's move: import random moves=['R', 'P', 'S') opposing_move=random.choice(moves) This code imports the random module so we can use a randomizing function. It then creates a list of moves and chooses the opposing player's move randomly from that list. 2. The program will welcome the user, explain how the game works, and then ask for the user's move. 3. The program will then compare the player and opponent's moves through a series of if, elif, and else statements to determine whether the player won, lost, or tied. The program must contain at least one of each (at least one if, elif, and else) Other than that, it's up to you how you'd like to set up those conditions. The program should be neat, well-formatted and readable (see the style guide on iLearn for more info). You can lose up to three marks for poor style. Don't forget to make comments in the code that identify the programmer, the program, and the date your program was written
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
