PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
What is the result of cmp(3, 1)?
A. 1
B. 0
C. True
D. False
Show Answer
Next Question
Correct Answer:
A
Explanation: cmp(x, y) returns 1 if x > y, 0 if x == y and -1 if x < y.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap