The function of the divmod function in python code example Example: divmod div, remainder = divmod(numerator, denominator)