🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित स्निपेट का आउटपुट क्या है:

What is the output of following snippet:

x=10 
y=3 
print(divmod(x,y))
A)
B)
C)
D)

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)

Latest Updates