Python Function Reference

divmod
Take two (non-complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using integer division.
Python 3.13
divmod(a, b)
Examples
Python 3.13
>>> divmod(10, 3)
(3, 1)