Commit d9d12cf8 by BellCodeEditor

save project

parent f255458d
Showing with 3 additions and 3 deletions
...@@ -12,7 +12,7 @@ while True: ...@@ -12,7 +12,7 @@ while True:
name = input("名字:") name = input("名字:")
print("*"*30) print("*"*30)
if name in score: if name in score:
info=score[name] m=score[name]
for k,v in m.items(): for k,v in m.items():
print(k,v) print(k,v)
print("*"*30) print("*"*30)
...@@ -21,4 +21,4 @@ while True: ...@@ -21,4 +21,4 @@ while True:
else: else:
print("查询错误,请输入正确的名字") print("查询错误,请输入正确的名字")
print("*"*30) print("*"*30)
print("程序结束") print("程序结束")
\ No newline at end of file \ 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