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.
1.4k
0
Do you find this helpful?
14

Discussion

No comments yet