- Exercise
In this lesson, we'll solve an exercise.
We'll cover the following
Problem statement #
Implement the python function divmod
.
- The function
divmod
should return the result for the division of the numbers: the integer part and the rest.
From the documentation:
divmod(x, y) ->(div, mod)
Get hands-on with 1400+ tech skills courses.