Commit 1ddb3d15 by BellCodeEditor

save project

parent 05b0c7b2
Showing with 9 additions and 4 deletions
score = {'语文':91,'数学':88,'英语':85}
score1 = {'语文':91,'数学':88,'英语':85}
score2 = {'语文':91,'数学':88,'英语':85}
score3 = {'语文':91,'数学':88,'英语':85}
score = {'悟空':student1,'诺依':student2,'小贝':student3}
key=input("请输入您需要查询成绩的名字;")
print(score[key])
for k,v score.items():
print(k,v)
# 请将"农夫山泉"删掉,并打印出新的商品信息
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment