Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check if 3 values are equal

cat, dog, rabbit = 1, 1, 1
print (cat == dog == rabbit)
>>> True
cat, dog, donkey = 1, 1, 2
print (cat == dog == donkey)
>>> False
 
PREVIOUS NEXT
Tagged: #python #check #values #equal
ADD COMMENT
Topic
Name
8+3 =