Rock-paper-scissors: Difference between revisions

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