Answers for "cmp() python"

2

cmp() python

Syntax:
cmp(a, b)
Parameters:
a and b are the two numbers in which the comparison is being done. 
Returns:
-1 if a<b

0 if a=b

1 if a>b
Posted by: Guest on August-02-2020

Code answers related to "cmp() python"

Python Answers by Framework

Browse Popular Code Answers by Language