In python, 12//5 is 2 then why -12//5 is not -2?

44 Views Asked by At

When I tried -12//5 I expected -2 but it returned -3. why it is so?

0

There are 0 best solutions below