Mine
public python v1 · immutablebrands = ['budwiser','miller','carlsburg']for brand in brands: bottle = [brand] print getattr(bottle['budwiser'],price)brands = ['budwiser','miller','carlsburg']for brand in brands: bottle = [brand] print getattr(bottle['budwiser'],price)