Not sure whats wrong? Invalid Syntax


inventory = {
'gold' : 500,
'pouch' : ['flint', 'twine', 'gemstone'], # Assigned a new list to 'pouch' key
'backpack' : ['xylophone','dagger', 'bedroll','bread loaf']
'pocket' : ['seashell','strange berry','lint']

Adding a key 'burlap bag' and assigning a list to it

inventory['burlap bag'] = ['apple', 'small ruby', 'three-toed sloth']

Sorting the list found under the key 'pouch'


Your code here

inventory['gold'] = inventory['gold'] + 50
This code returned the following error
File "python", line 5
'pocket' : ['seashell','strange berry','lint']
SyntaxError: invalid syntax
Not really sure how to fix this any help is appreciated


You are missing a comma at the end of your backpack line.


Thank you. This fixed the problem