Commit aa8a9043 by BellCodeEditor

save project

parent 0f704bcb
Showing with 2 additions and 5 deletions
......@@ -6,10 +6,7 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
name = input("名字:")
for k,v in name.items():
print("*"*30/k,v/"*"*30)
if name in score:
print("*"*30/k,v/"*"*30)
else
print("没有此人,请重新输入")
input(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