diy2.py 172 Bytes Edit 1 2 3 4 5 6 7 score = {'语文':91,'数学':88,'英语':85} for k in score.keys(): print(k) # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来