Sorry, I should have put the error beforehand.
Error:File "ex19.py", line 3, in food_waste
TypeError: %d format: a number is required, not str