Guest User

Untitled

a guest
Sep 25th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. print "We'll play rock paper scissors to see who wins. Best two out of three, okay?"
  2. print "Score: 0/0"
  3. play=1
  4. while play==1:
  5. one=raw_input("Rock, Paper, Scissors...")
  6. if one=="Rock" or one=="rock":
  7. print "Paper covers rock!"
  8. elif one=="Paper" or one=="paper":
  9. print "Scissors cuts paper!"
  10. elif one=="Scissors" or one=="scissors":
  11. print "Rock smashes scissors!"
  12. else:
  13. print "That's not a valid option. You're disqualified, making me the winner!"
  14. play=2
  15. break
  16. print "Score: 0/1"
  17. two=raw_input("Rock, Paper, Scissors...")
  18. if two=="Rock" or two=="rock":
  19. print "I choose paper. You lose!"
  20. elif two=="Paper" or two=="paper":
  21. print "I choose scissors. You lose!"
  22. elif two=="Scissors" or two=="scissors":
  23. print "I choose rock. You lose!"
  24. else:
  25. print "That's not a valid option. You're disqualified, making me the winner!"
  26. play=2
  27. break
  28. print "Score: 0/2"
  29. play=2
Add Comment
Please, Sign In to add comment