Help with Dictionaries on 14


#1

I don't get it. When I print it, the total is 50 more than the original. Can someone help me figure out why Codecademy won't accept this?


#2

Hi try to add it like that

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

#3

wizmarco, does that work for you?

The code I used was: inventory['gold'] = 550