mydict = {'a':{}, 'b':{}, 'c':{}} for dic in mydict.values(): for key in xrange(6): dic[key] = 0