Feb-14-2019, 04:34 AM
(Feb-14-2019, 04:04 AM)ichabod801 Wrote: You are using the or operator wrong. You need to have an expression on each side of the or (see here for details). What you want is:
valid = ('rock', 'paper', 'scissors') if p1 in valid and p2 in valid:
Thank you so much for your help! I now know what I did wrong. Thank you again.