Commit c3aa8fc7 by BellCodeEditor

save project

parent 9722f1b2
Showing with 5 additions and 2 deletions
...@@ -11,10 +11,12 @@ while True : ...@@ -11,10 +11,12 @@ while True :
name = input("名字:") name = input("名字:")
print('*'*30) print('*'*30)
if name in score : if name in score :
a = score[name]
print('*'*30)
for k,v in a.items(): for k,v in a.items():
print(k,v) print(k,v)
print('*'*30)
elif name=="q":
break break
else: else:
print('输入错误') print('输入错误')
print('*'*30)
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