McqMate
Q. |
print(maximum(2, 3)) |
A. | 2 |
B. | 3 |
C. | the numbers are equal |
D. | none of the mentioned |
Answer» B. 3 | |
Explanation: the maximum function returns the maximum of the parameters, in this case the numbers supplied to the function. it uses a simple if..else statement to find the greater value and then returns that value. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet