A tip for you: take a look of how you’re calculating the mean. The first value is for the world cat population, the second one, for India.
I can’t check the assignment right now, but your issue probably is because of that, considering you’re getting the same value for both.