Question 1: (25 points) Write well-documented Python program to play Rock, Paper
ID: 3908620 • Letter: Q
Question
Question 1: (25 points) Write well-documented Python program to play Rock, Paper, Scissors...: Sheldon Cooper, the fictional character on the CBS TV show "The Big Bang Theory', has extended the game Rock Papers Scissors as described below. Write a well-documented Python program entitled, rockPaper.py, to implement the game accepting a user input. The main program should allow for lowerlupper case user entries. Additionally, the main program should display the number of times the user won the game during a playing session Its Simple spock smashes scissors soissors outs paper scissors decapitates lzard paper disproves spock spock aporizes rock rock crushes paper covers rock lizard poisons spock lizard eats paper rock crushes lizordExplanation / Answer
Solution:
Sample Run:
Enter your choice. Type quit to quit from the game.
paper
Computer wins!
Enter your choice. Type quit to quit from the game.
scissors
Player wins!
Enter your choice. Type quit to quit from the game.
lizard
Player wins!
Enter your choice. Type quit to quit from the game.
spock
Computer wins!
Enter your choice. Type quit to quit from the game.
spock
Player wins!
Enter your choice. Type quit to quit from the game.
quit
Player won 3 times.
Process finished with exit code 0
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.