14. Its dangerous to go alone Help


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

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['pocket'] = ['seashell', 'strange berry', 'lint']

My error is "oops try again, make sure to add 50 to the gold total!

Please help :smiley:



To update the total, you would use += not just +. :slightly_smiling:


Thank you so much :smiley:


I'm still getting

Oops, try again.
Make sure to add 50 to the gold total!


Never mind, I fixed it xD