Question: using python programming language paste the code here with a screen shot of the output thanks 6. Write a program that will determine the result
6. Write a program that will determine the result of a rock paper, scissors game a. Your program should continue taking inputs from player 1 and player 2 until at least one of them input the word end game". b. Given Player 1 and Player 2's choices, your program will print out the result each time they play. Here are the rules of the game: PAPER ROCK SCISSORS Page 4 of 5 First create a truth table for all the possible choices for player 1 and 2 and the outcome of the game. This will help you figure out how to code the game Player 1 Player 2 Result Rock Rock Tie Rock Scissors Player 1 The program should ask the user for input and display the answer as follows: Player 17 rock Player 2? scissors Player 1 wins. Player 17 rock Player 2? rock Tie. Player 1? end Player 27 rock End game The only valid inputs are rock, paper, and scissors. If the user enters anything else, your program should output This is not a valid selection. Use the truth table you created to help with creating the conditions for your statement(s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
