Q.

The function divmod(a,b), where both ‘a’ and ‘b’ are integers is evaluated as:

A. (a%b, a//b)
B. (a//b, a%b)
C. (a//b, a*b)
D. (a/b, a%b)
Answer» B. (a//b, a%b)
Explanation: the function divmod(a,b) is evaluated as a//b, a%b, if both ‘a’ and ‘b’ are integers.
830
0
Do you find this helpful?
7

Discussion

No comments yet