It's Dangerous To Go Alone! Take This


#1

inventory = {
'gold' : 500,
'pouch' : ['flint', 'twine', 'gemstone', 'key'], # Assigned a new list to 'pouch' key
'backpack' : ['xylophone','dagger', 'bedroll', 'bread loaf']
'pocket' : ['seashell', 'strangeberry', 'lint']
}

Its raising an invalid syntax error.


#2

Is that exactly how it's typed in the editor? This is missing a comma between the last two pairs in the dict.


#4

Thank you sir. Pardon my late response