Commit b9fe02ca by BellCodeEditor

save project

parent 7342989b
Showing with 5 additions and 2 deletions
...@@ -7,11 +7,14 @@ while True: ...@@ -7,11 +7,14 @@ while True:
name = input("名字:") name = input("名字:")
print("*" * 30) print("*" * 30)
if name in score: if name in score:
score = score[name] info = score[name]
for k, v in infor.items(): for k, v in infor.items():
print(k,v) print(k,v)
print("*" * 30) print("*" * 30)
elif name == "q":
else: else:
print("滚") print("滚")
print("*" * 30)
print("程序结束")
# 查询并打印出输入的名字对应的所有科目的成绩 # 查询并打印出输入的名字对应的所有科目的成绩
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