divmod function in Python
Operation
divmod(x,y)
Result
The pair (tuple):
(x // y, x % y)