निम्नलिखित स्निपेट का आउटपुट क्या है:
What is the output of following snippet:
x=10
y=3
print(divmod(x,y))
A
(3, 1)
B
(3, 10)
C
(1,3)
D
Error
Explanation
The divmod(x, y) function returns a tuple with the quotient and remainder of x divided by y.
For x = 10 and y = 3, the result is (3, 1).
Answer: (A) (3, 1)
Correct Answer: A) (3, 1)