Unsupported operand types Error


#1


<Belo

w this line, add a link to the EXACT exercise that you are stuck at.>

How to fix this problem?


#2

shopping_list is a global object, a simple list. Our code will take it as food.

def compute_bill(food):

Each item in the list is a key in the two dictionaries.

total += prices[item]

#3

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