Practice Python

follow us in feedly Atom feed XML

Weekly beginner Python exercises

02 April 2014

Rock Paper Scissors Solutions

Exercise 8

Make a two-player Rock-Paper-Scissors game. (Hint: Ask for player plays (using input), compare them, print out a message of congratulations to the winner, and ask if the players want to start a new game)

Remember the rules:

Sample solution

Another sample solution uses a clever way of checking the winner:

comments powered by Disqus