
prices = {
        'GOOG' : 490.1,
        'AA' : 23.45,
        'IBM' : 91.1,
        'MSFT' : 34.23
    }

print(prices.items())

print()

# What if you wanted to get a list of (value, key) pairs instead?

pricelist = list(zip(prices.values(),prices.keys()))
print( pricelist )

d = dict(zip(prices.values(),prices.keys()))
print(d)

print( min(pricelist) )
print( min(d) )
