"You do not have all the correct items in inventory['pocket']"


my code is throwing off the following error:

I do not see how the values inside the list 'pocket' are wrong. They are exactly what was stated in the side panel which were -- 'seashell', 'strangeberry', and 'lint'

Any help would be appreciated, thank you


Hi try to add the 50 inside invetory like that.. and remove the one outside.

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


I don't know if you've fixed it now but, you wrote "strangeberry" in your code and it should be "strange berry", thats why you are getting an error in your code there.

Also, you're suppose to add 50 to the number stored under the "gold" key, so you should write 550 in your code instead of 50... Like this: inventory['gold'] = 550. I see that you've written inventory['gold'] + 50.


Thanks for your help guys! fixed it now