0

I was messing around in my interpreter and found python incorrectly dividing.

>>> a = 24842918
>>> a/2
12421459.0
>>> a/6
4140486.3333333335

(a/6 should be 4140486.3333333333)

Why is python returning an output that is incorrect and super close to the correct output?

Eric Jin
  • 3,836
  • 4
  • 19
  • 45

0 Answers0