Commit 9a899d82 by BellCodeEditor

save project

parent 0841eb68
Showing with 8 additions and 4 deletions
......@@ -5,6 +5,10 @@ score={'w':s,"e":z,"q":h}
name = input("名字:")
info= score[name]
for k,v in info.items():
print(k,v)
\ No newline at end of file
if name in score:
info= score[name]
for k,v in info.items():
print(k,v)
print("*"*30)
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