How to fix this problem?
shopping_list is a global object, a simple list. Our code will take it as
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.