divide_both(a, b) that returns a tuple (true_division_result, floor_division_result) for a / b and a // b respectively, demonstrating the difference between / (always float) and // (rounds toward negative infinity).divide_both(7, 2)
(3.5, 3)
7 / 2 = 3.5 (float); 7 // 2 = 3 (int floor).
divide_both(-7, 2)
(-3.5, -4)
Floor division rounds toward negative infinity, not toward zero.
`/` always returns a float in Python 3.
`//` floors toward negative infinity, which differs from truncation for negative numbers.