can any one tell me where is the bug in this program. i had get only one correct answer. for apples only.
when i hit on save&submit it shows me like this.
total = 0
for price in prices:
total = stock[key] * prices[price]
Oops, try again. It looks like your code did not print the correct total.