A Day at the Supermarket Something of Value


Please help


I have tried using %f and %d but the problem is still the same


on line 18 you have price[key] instead of prices[key]


hey thanks but now my code is showing incorrect total



switch back to %s from %f


you have to keep the previous result:
total = total + prices[key] + stock[key]
total += prices[key] + stock[key]


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.