Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Or Operator In Python

if 1==1 or 1==2:
    print("this is true")
#this is distinct from the || seen in some other languages
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Or #Operator #In #Python
ADD COMMENT
Topic
Name
3+2 =