Answered step by step
Verified Expert Solution
Question
1 Approved Answer
help me using python Python Quiz 1. Rock, paper, scissors is a game in which who people battle by choosing either rock, paper or scissors.
help me using python
Python Quiz 1. Rock, paper, scissors is a game in which who people battle by choosing either rock, paper or scissors. Paper beats rock, rock beats scissors and scissors beats paper. Write a program that randomly chooses either rock, paper or scissors and compares this to the user input. The program should then announce the winner or a draw if there is no winner. The game should keep going until the user enters 'quit. [8 marks) Sample output: What do you choose? Rock Your opponent chose paper... You lose! What do you choose? Paper Your opponent chose paper... Draw! What do you choose? Scissors Your opponent chose paper... You Win! What do you choose? quit This is the end of the gameStep 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