Manipulate maps

Loop over map elements

prices = {'apple': 0.40, 'orange': 0.35, 'banana': 0.25}
for k, v in prices.items():
    prices[k] = round(v * 0.9, 2)
prices
{'apple': 0.36, 'orange': 0.32, 'banana': 0.23}