Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- player_one = raw_input("Please type rock, paper, or scissors ")
- player_two = raw_input("Please type rock, paper, or scissors ")
- if player_one == 'rock' and\
- player_two == 'rock':
- print 'Tie Game'
- elif player_one == 'rock' and\
- player_two == 'paper':
- print 'Player two wins!'
- elif player_one == 'rock' and\
- player_two == 'scissors':
- print 'Player one wins!'
- elif player_one == 'paper' and\
- player_two == 'paper':
- print 'Tie Game!'
- elif player_one == 'paper' and\
- player_two == 'rock':
- print 'Player One Wins!'
- elif player_one == 'paper' and\
- player_two == 'scissors':
- print 'Player Two Wins!'
- elif player_one == 'scissors' and\
- player_two == 'scissors':
- print 'Tie Game!'
- elif player_one == 'scissors' and\
- player_two == 'rock':
- print 'Player Two Wins!'
- elif player_one == 'scissors' and\
- player_two == 'paper':
- print 'Player One Wins!'
- x = 1
Add Comment
Please, Sign In to add comment