Commit 50786428 by BellCodeEditor

save project

parent 78960b19
Showing with 4 additions and 3 deletions
......@@ -8,9 +8,10 @@ name = input("名字:")
# 查询并打印出输入的名字对应的所有科目的成绩
if name in score:
print(temp)
temp=score[name]
print("*"*25)
for k,v in temp.items():
print(k+":"+str(v))
print("*"*25)
else:
print(没有)
\ No newline at end of file
print("没有")
\ No newline at end of file
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