Rock-paper-scissors: Difference between revisions
Content deleted Content added
Line 3,300: | Line 3,300: | ||
elif rules[human] == computer: # if what beats the human's choice is the computer's choice... |
elif rules[human] == computer: # if what beats the human's choice is the computer's choice... |
||
print('the computer beat you... :(') |
print('the computer beat you... :(') |
||
else: print( |
else: print('it's a tie!') |
||
else: print( |
else: print('that's not a valid choice')</lang> |
||
Output, where player always chooses Rock: |
Output, where player always chooses Rock: |