1

I calculate an expression like15//-7, the output is -3(round downward), and I expect -2(round zero). So there is a way that rounds zero for python integer division.

douyu
  • 2,153
  • 1
  • 12
  • 23

0 Answers0