14/14 It's Dangerous to Go Alone! Take This. Syntax Error


#1

What's wrong with it?


#2

Hi inside inventory you should separate each key with " , "


#3

Still does not work


#4

but the key inside inventory are gold, pouch, backpack and pocket so they the one you should separet by the ","


#5

I'm still getting the same syntax error


#6

Here my code

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']
}

#7

Thank you, it now works


#8

not working fam darrennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn


#9

Hi what is the error that you get?