PyDocs

Nav

Python Runtime Services

divmod

builtins

function
  • divmod(a, b, /)
Return the tuple (x//y, x%y).  Invariant: div*y + mod == x.
0 Examples
No examples for builtins/divmod.
See Also
No see-alsos for builtins/divmod
0 Notes
No notes for divmod