I don' know what is wrong


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

inventory = {
‘gold’ : 500,
‘pouch’ : [‘flint’, ‘twine’, ‘gemstone’], # Assigned a new list to ‘pouch’ key
iventory[‘backpack’].sort()
iventory[‘dagger’].remove()
inventory[‘gold’] = 550
‘backpack’ : [‘xylophone’,‘dagger’, ‘bedroll’,‘bread loaf’]

'pocket' : ['seashell', 'strange berry', 'lint']

}

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’

inventory[‘pouch’].sort()

Your code here

<do not remove the three backticks above>

#2

@magykal

Hey, can you give us the link to the exercise?


#3

Sure https://www.codecademy.com/en/courses/python-beginner-en-pwmb1/2/5?curriculum_id=4f89dab3d788890003000096


#4

@magykal

You should create pocket property of inventory under this line of code. Same as when you sort your backpack and remove dagger. You should set the new value of gold under this bit of code too.