Getting correct output but not passing the exercise

Im getting the output as expected but the exercise in not passed

in another exercise it is showing this error

Hey there!

You are missing a negative (-) though. Your cost is a negative number. However, the cost should be a positive number.

Hope that fixes your issue.