li = [11,22,33,44,55,66,77,88,99]dict = {'k1':[],'k2':[]}for i in li: if i < 66: dict["k1"].append(i) else: dict['k2'].append(i)print(dict)