Flowdock
method

divmod

Importance_1
divmod(other) public

Returns the quotient and remainder.

Examples:

  r = Rational(7,4)        # -> Rational(7,4)
  r.divmod Rational(1,2)   # -> [3, Rational(1,4)]
Show source
Register or log in to add new notes.