Commit 3f927f42 by BellCodeEditor

save project

parent 91148f6f
Showing with 10 additions and 9 deletions
......@@ -5,11 +5,12 @@ score = {'12': student1, '89': student2, '00': student3}
name = input("名字:")
if name in score:
a =score[name]
for i,k in a.items():
print(i,k)
else:
print("输入错误")
\ No newline at end of file
while True:
name = input("名字:")
if name in score:
a =score[name]
for i,k in a.items():
print(i,k)
else:
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