Week 2 Python basics with Numpy: Graded question L1

Could someone help me understand why the summation of elements in array is 0.49999 (loss) instead of 0.5 ? Not sure what is the expected answer.Appreciate any help.

[code removed - moderator]

L1 loss is the sum of absolute difference between prediced and actual values.