please help me to solve this question thanks a lot


Starting Code:

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

So it tells you to do all this

1)Add a key to inventory called 'pocket'
2)Set the value of 'pocket' to be a list consisting of the strings 'seashell', 'strange berry', and 'lint'
3).sort() the items in the list stored under the 'backpack' key
4)Then .remove('dagger') from the list of items stored under the 'backpack' key
5)Add 50 to the number stored under the 'gold' key

so add the key called 'pocket' and put the items inside of it equal to these strings
seashell', 'strange berry', and 'lint like so

inventory["pocket"] =  ["seashell", "strange berry", "lint"]

next tells you to .sort() the items inside the backpack


next says to .remove('dagger') from the backpack


and finally to add 50 gold to the gold key

inventory["gold"] += 50



inventory["backpack"] -= 200