#定义列表数据
score_list =[65, 92, 78, 90, 45, 83, 57, 96]
#先要定义好字典的键值对
score_dict={
       'high':[],
       'middle':[],
       'low':[]
}
#循环遍历
for score in score_list:
#验证
    if score>=90:
        score_dict['high'].append(score)
    elif score>=60:
            score_dict['middle'].append(score)
    else:
            score_dict['low'].append(score)
#打印字典
print(score_dict)