hi dears, maybe there is someone that can help me with this solution?
in the exercise it was asked to add the the dict “gold” another value , but i tried a lot of thing and nothing is property working. What im missing?
inventory = {
‘gold’ : 500,
‘pouch’ : [‘flint’, ‘twine’, ‘gemstone’], # Assigned a new list to ‘pouch’ key
‘backpack’ : [‘xylophone’,‘dagger’, ‘bedroll’,‘bread loaf’]
}
inventory[‘gold’].append(50)