Commit c42f30b9 by BellCodeEditor

save project

parent 9a899d82
Showing with 7 additions and 3 deletions
...@@ -3,12 +3,15 @@ z={"1":3,'2':3,'3':4} ...@@ -3,12 +3,15 @@ z={"1":3,'2':3,'3':4}
h={"1":6,'2':7,'3':2} h={"1":6,'2':7,'3':2}
score={'w':s,"e":z,"q":h} score={'w':s,"e":z,"q":h}
while True:
name = input("名字:") print('退出请输入q')
if name in score: name = input("名字:")
if name in score:
info= score[name] info= score[name]
for k,v in info.items(): for k,v in info.items():
print(k,v) print(k,v)
print("*"*30) print("*"*30)
elif:str(name) =="q"
break
else: else:
print('输入错误') 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