Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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 game

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions