Commit 3e84c258 by BellCodeEditor

save project

parent bde39fc0
Showing with 10 additions and 2 deletions
...@@ -25,10 +25,17 @@ for i in score: ...@@ -25,10 +25,17 @@ for i in score:
print() print()
i=input('请输入名字~') i=input('请输入名字~')
if i in score: while True :
i = input('请输入名字')
if i=='q' or i=='Q':
break
else:
print('-'*40)
if i in score:
print(i,end=' ') print(i,end=' ')
info=score[i] info=score[i]
for k,v in info.items(): for k,v in info.items():
print(k,v,end=' ') print(k,v,end=' ')
else: else:
print("这人死了。。。") print("这人死了。。。")
print('-'*40)
\ 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