Commit 645b405d by BellCodeEditor

save project

parent 9710b8c4
Showing with 3 additions and 1 deletions
......@@ -6,10 +6,12 @@ score = {'沙壁': student1, '草泥马': student2, '握草': student3}
name = input("名字:")
if name in score:
print("*"*30)
for k,v in score[name].items():
print(k,v)
print("*"*30)
else:
print("没这个死东西")
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