Python divmod function is the python built-in function that returns a tuple containing quotient and remainder.