大学生pytnon题

1.用字典编写程序考试成绩如下,输出需要补考的同学姓名:姓名:"张晓林","王强","高文博","刘丽冰","李雅芳","张立华","曹雨生","李 芳","徐志华","李晓力","罗 明","段 平"成绩:91.00,87.00,88.00,38.00,92.00,74.00,90.00,59.00,91.00,78.00,67.00,75.00dic1={"张晓林":91,"王强":87,"高文博":88,"刘丽冰":38,"李雅芳":92,"张立华":74,"曹雨生":90,"李 芳":95,"徐志华":91,"李晓力":78,"罗 明":67,"段 平":75}

dic1 = {"张晓林": 91, "王强": 87, "高文博": 88, "刘丽冰": 38, "李雅芳": 92, "张立华": 74, "曹雨生": 90, "李 芳": 95, "徐志华": 91, "李晓力": 78,
        "罗 明": 67, "段 平": 75}
for name, score in dic1.items():
    if score < 60:
        print(name)
names = [
    "张晓林", "王强", "高文博", "刘丽冰",
    "李雅芳", "张立华", "曹雨生", "李 芳",
    "徐志华", "李晓力", "罗 明", "段 平"]
scores = [
    91.00, 87.00, 88.00, 38.00, 92.00,
    74.00, 90.00, 59.00, 91.00, 78.00,
    67.00, 75.00]
dic1 = dict(zip(names, scores))
# dic1 = {"张晓林": 91, "王强": 87, "高文博": 88, "刘丽冰": 38, "李雅芳": 92, "张立华": 74, "曹雨生": 90, "李 芳": 95, "徐志华": 91, "李晓力": 78,
#         "罗 明": 67, "段 平": 75}
for name, score in dic1.items():
    if score < 60:
        print(name, end='\t')
dic1 = {"张晓林": 91, "王 强": 87, "高文博": 88, "刘丽冰": 38, "李雅芳": 92, "张立华": 74, "曹雨生": 90, "李 芳": 95, "徐志华": 91, "李晓力": 78, "罗 明": 67, "段 平": 75}
print("姓名:", end="\t")
for i in dic1.keys():
    print(i, end='\t')
print()
print("成绩:", end="\t")
for j in dic1.values():
    print(j, end='\t')

不知道具体要求是啥,先猜测一下,给个例子:

姓名=["张晓林","王强","高文博","刘丽冰","李雅芳","张立华","曹雨生","李 芳","徐志华","李晓力","罗 明","段 平"]
成绩=[91.00,87.00,88.00,38.00,92.00,74.00,90.00,59.00,91.00,78.00,67.00,75.00]
dic = {}
for i in range(len(姓名)):
    dic[姓名[i]] = 成绩[i]
print(dic)
lst = []
for k,v in dic.items():
    if v<60:
        lst.append(k)
print(f'需要补考的同学有:{lst}')