Jump to content

Rock-paper-scissors: Difference between revisions

m
(→‎{{header|REXX}}: added extended version, made computer's choices more idiomatic.)
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!")
print("it's a tie!")
 
else: print("that's not a valid choice")</lang>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.