Commit 238b121c by BellCodeEditor

save project

parent e279185e
Showing with 5 additions and 5 deletions
......@@ -6,10 +6,10 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
# for a,b in v.items():
# print(a,"的分数是",b)
while True:
name = input("名字:")
info = score[name]
for k,v in info.items():
print(k,v)
# name = input("名字:")
# info = score[name]
# for k,v in info.items():
# print(k,v)
myscore = {}
name = input("请输入名字")
if name in score:
......@@ -18,7 +18,7 @@ while True:
print("对不起,您输入的名字错误,请您重新输入")
for k,v in myscore.items():
print(k,"的分数是",v)
print("*"*30)
print('*' * 30)
......
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