cmp 28 29 python

Solutions on MaxInterview for cmp 28 29 python 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
  
pinned-register now
showing results for - "cmp 28 29 python"
Adèle
31 Jun 2016
1Syntax:
2cmp(a, b)
3Parameters:
4a and b are the two numbers in which the comparison is being done. 
5Returns:
6-1 if a<b
7
80 if a=b
9
101 if a>b