Implement a function that returns the quotient and remainder of integer division.
Constraints
Example
>>> divide_with_remainder(17, 5) (3, 2) >>> divide_with_remainder(-17, 5) (-4, 3) >>> divide_with_remainder(17, -5) (-3, 2) >>> divide_with_remainder(-17, -5) (4, 3)
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints