Description
Revel Stoke S’moregasm 750ml
‘,’price’:28.95},
{‘name’:’Red Racer Doppelbock 473ml’,’price’:2.75},
{‘name’:’Paulaner Hefe-Weissbier 500ml’,’price’:3.95},
{‘name’:’Okanagan Spring Pale Ale 6x341ml’,’price’:12.60},
{‘name’:’Okanagan Spring 15 16oz cans’,’price’:24.90},
{‘name’:’Maudite 6x341ml’,’price’:13.40},
{‘name’:’Maudite 12x355ml’,’price’:26.45},
{‘name’:’Kokanee 12x355ml’,’price’:26.45},
{‘name’:’Labatt Blue 6x341ml’,’price’:10.95},
{‘name’:’Kokanee Glacier 6x341ml’,’price’:11.90},
{‘name’:’Labatt Blue 5L Mini Keg’,’price’:17.95},
{‘name’:’Alexander Keiths India Pale Ale 6x355ml’,’price’:13.45},
{‘name’:’Heineken 6x334ml’,’price’:14.95},
{‘name’:’Old Milwaukee 473ml’,’price’:1.40},
{‘name’:’Molson Canadian 6x341ml’,’price’:13.45},
{‘name’:’Molson Canadian 24x355ml’,’price’:46.20}]
def sum_prices(beer_list):
total_price = 0
for item in beer_list:
total_price += item[‘price’]
return total_price
price_total = sum_prices(beer_list)
print(“Total Price: ${:.2f}”.format(price_total))