python check if 3 values are equal

Solutions on MaxInterview for python check if 3 values are equal by the best coders in the world

showing results for - "python check if 3 values are equal"
Esther
08 May 2016
1cat, dog, rabbit = 1, 1, 1
2print (cat == dog == rabbit)
3>>> True
4cat, dog, donkey = 1, 1, 2
5print (cat == dog == donkey)
6>>> False