Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN Python: Create a game of Rock, Paper, Scissors using import random, a while loop, and a series of if statements. The user should input
IN Python:
Create a game of Rock, Paper, Scissors using import random, a while loop, and a series of if statements. The user should input either "rock", "paper", or "scissors"- and the output should print the computers choice, as well as the result of the match. If the match is tied, it should automatically start a new match. For example: Example 1: rock, paper, scissors?: rock Computer chose scissors Rock smashes scissors, you win! Example 2 rock, paper, scissors?: paper Computer chose scissors Scissors cut paper, you losel Example 3: rock, paper, scissors?: scissors Computer chose scissors. rock, paper, scissors?: rock Computer chose paper, Paper covers rock, you loseStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started