how to check if the value is equal to in python code example
Example: 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
cat, dog, rabbit = 1, 1, 1
print (cat == dog == rabbit)
>>> True
cat, dog, donkey = 1, 1, 2
print (cat == dog == donkey)
>>> False