Commit c42f30b9 by BellCodeEditor

save project

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