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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
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