All pastes #806542 Raw Edit

Mine

public python v1 · immutable
·published 2007-12-05 11:16 UTC
rendered paste body
brands = ['budwiser','miller','carlsburg']for brand in brands:    bottle = [brand]    print getattr(bottle['budwiser'],price)