cmp 28 29 python

Solutions on MaxInterview for cmp 28 29 python by the best coders in the world

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