Commit 5121e9f1 by BellCodeEditor

save project

parent e26adee8
Showing with 2 additions and 0 deletions
...@@ -16,11 +16,13 @@ while True: ...@@ -16,11 +16,13 @@ while True:
for a,b in c.items(): for a,b in c.items():
print(a,b) print(a,b)
print("*"*50) print("*"*50)
break
elif name == 'q': elif name == 'q':
break break
else: else:
print("查询错误") print("查询错误")
print("*"*50) print("*"*50)
break
# 查询并打印出输入的名字对应的所有科目的成绩 # 查询并打印出输入的名字对应的所有科目的成绩
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