McqMate
| Q. |
What is the result of cmp(3, 1)? |
| A. | 1 |
| B. | 0 |
| C. | true |
| D. | false |
| Answer» A. 1 | |
| Explanation: cmp(x, y) returns 1 if x > y, 0 if x == y and -1 if x < y. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet