Feb-14-2019, 04:04 AM
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:
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures