14/14 Python lists and dictionaries: strange error


#1

I got a strange error on 14/14, here is the code

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'
inventory['pouch'].sort() 
inventory['backpack'].sort()
# Your code here
inventory['backpack'].remove('dagger')
inventory['Gold'] = inventory['gold']+50

I received the error message:
` File "python", line 5
'pocket' : ['seashell', 'strange berry', 'lint']
^
SyntaxError: invalid syntax

The carrot (^) was under the N in lint.

Any help? Thanks.


#2

bump please help in need


#3

Each set of key/values needs to be separated by a comma.

Can you spot it now?


#7