Shop in text adventure

This is also a peice of code I was just testing out.
I'm going to replace the lists with dictionaries, so that you can store
the item with the corresponding price in it.
Example: inventory = {gold:500}