It's dangerous to go alone!Take this


#1



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

Traceback (most recent call last):
File "python", line 7, in
AttributeError: 'list' object has no attribute 'reomve'

I assumed the code would run .


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


#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.