Commit f17f5bc8 by BellCodeEditor

save project

parent 8d0c9371
Showing with 5 additions and 1 deletions
...@@ -10,8 +10,11 @@ name = input("请输入要查询成绩学生的名字") ...@@ -10,8 +10,11 @@ name = input("请输入要查询成绩学生的名字")
# for k,v in info.items(): # for k,v in info.items():
# print(k) # print(k)
# print(v) # print(v)
print("*"*30)
if name in score: if name in score:
print("*"*30)
info = score[name] info = score[name]
for k,v in info.items():
print(k)
print(v)
else: else:
print("名字错误,请重新输入") 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