0 votes
23 views

To test multiple variables against a single value:

Wrap the variables in a set object, e.g. {a, b, c}. Use the in operator to test if the value is stored in any of the variables. The in operator will return True if the value is stored in at least one of the variables.

Please log in or register to answer this question.

...