Question: I need this code python 3 (a) When evaluating pl and p2 where pl and p2 are conditional statements, will (4 marks) p2 always be
(a) When evaluating pl and p2 where pl and p2 are conditional statements, will (4 marks) p2 always be evaluated? (b) (Rock, Paper, Scissors) Write a program that requests the user to enter in a (16 marks) string, p1. The string can only be one of three possible values: "Rock", "Paper", or "Scissors". Create a second string, p2, which is randomly selected to be one of these three values. The two string objects p1 and p2 represent player 1 and 2 , where player 1 is the user and player 2 is the computer. The program should print a statement of who has won the game of Rock, Paper, Scissors according to the following rules: - Rock beats Scissors - Scissors beats Paper
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
