Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if statment with logical or operator for multiple varaibles

# You can change '1' to any other data type
if 1 in (x, y, z):
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #statment #logical #operator #multiple #varaibles
ADD COMMENT
Topic
Name
7+9 =