-
Python question of the day What would be the output of executing the following code: print(divmod(7, 3))(2, 1)
(1, 2)
(2.0), (1.0)
(2.0, 1.0)
Explanation:The built-in function divmod takes two arguments and returns a tuple of two values, the quotient and remainder.
