outcome = {} for a in ['dogs','cats']: outcome[a] = 0