It's dangerous to go alone!Take this


#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.>
https://www.codecademy.com/en/courses/python-beginner-en-pwmb1/2/5?curriculum_id=4f89dab3d788890003000096#
<In what way does your code behave incorrectly? Include ALL error messages.>
Traceback (most recent call last):
File “python”, line 7, in
AttributeError: ‘list’ object has no attribute ‘reomve’
<What do you expect to happen instead?>
I assumed the code would run .

```python

inventory = {
‘gold’ : 500,
‘pouch’ : [‘flint’, ‘twine’, ‘gemstone’], # Assigned a new list to ‘pouch’ key
‘backpack’ : [‘xylophone’,‘dagger’, ‘bedroll’,‘bread loaf’], ‘pocket’ : [‘seashell’, ‘strange berry’,‘lint’]
}
inventory[‘backpack’].sort()
inventory[‘backpack’].reomve(‘dagger’)
inventory[‘gold’]+50

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()

<do not remove the three backticks above>

#2

Spelling error… remove.

Also,

Will not add to current value. Try,

    inventory['gold'] += 50

#3

I’m so embarrassed…thank you for the assistance. The code runs now.