diy2.py 314 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 a={'语文:':97,'数学:':100,'英语:':98} b={'语文:':90,'数学:':100,'英语:':90} c={'你:':a,'我:':b} while True: c=input("名字:") if d=c[d] for n,m=e in c.items: print("——"*10) # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来