Anonymous user
Rock-paper-scissors: Difference between revisions
m
→{{header|Python}}
Line 3,295:
previous.append(human)
print('the computer played', computer, end='; ')
if rules[computer] == human: # if what beats the computer's choice is the human's choice...
print('yay you win!')
|