DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+9 =
Submit