Commit 3e84c258 by BellCodeEditor

save project

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