14/14 Does any1 know whats wrong?


#1

inventory = {
'gold' : 500,
'pouch' : ['flint', 'twine', 'gemstone'], # Assigned a new
'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


#2

You need a comma at the end of this line.


#3

Thanks bro :wink: !!!