Unsupported operand types Error



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

How to fix this problem?


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]


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