Assignment 3.2

Write a program that plays rock, paper, scissorsRock Paper Scissors

  • Create a program that randomly prints 0, 1, or 2.
  • Expand the program so it randomly prints rock, paper, or scissors using if statements. 
  • Add to the program so it first asks the user their choice. (It will be easier if you have them enter 1, 2, or 3.)
  • Add conditional statement to figure out who wins.


Create a new program, test it and upload it using your name and followed by AS3.2 in the programs file name. As an example a programs filename could be Name_Surname_AS3.2.py

For your effort you will be graded and you will have another try if you want to get a better grade. Passing grade is 60%.

The following is a sample code to start with. It is not the best code for solving the game but it is very analytic and understandable.