Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print "Pick one of Rock, paper, scissor"
- player1 = raw_input("Rock, paper, scissor: ")
- player2 = raw_input("Rock, paper, scissor: ")
- if player1==player2:
- print "We have a tie"
- elif player1=="rock" and player2=="scissor":
- print "Player 1 Wins"
- elif player1=="scissor" and player2=="paper":
- print "Player 1 Wins"
- elif player1=="paper" and player2=="rock":
- print "Player 1 Wins"
- elif player2=="rock" and player1=="scissor":
- print "Player 2 Wins"
- elif player2=="scissor" and player1=="paper":
- print "Player 2 Wins"
- elif player2=="paper" and player1=="rock":
- print "Player 2 Wins"
- else:
- print "That's an invalid entry"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement