cat, dog, rabbit = 1, 1, 1 print (cat == dog == rabbit) >>> True cat, dog, donkey = 1, 1, 2 print (cat == dog == donkey) >>> False