divide - How python calculate this division? -
this question has answer here:
how python calculate division?
>>>-3/10 -1
looks python rounds answer lower value.
>>> -3/4 -1 >>> -3/4. -0.75 >>> -3/10. -0.3 >>> -3/10 -1
this guess.
this question has answer here:
how python calculate division?
>>>-3/10 -1
looks python rounds answer lower value.
>>> -3/4 -1 >>> -3/4. -0.75 >>> -3/10. -0.3 >>> -3/10 -1
this guess.
Comments
Post a Comment