Commit ae18d695 by BellCodeEditor

auto save

parent c9ba0819
Showing with 4 additions and 3 deletions
...@@ -5,10 +5,10 @@ score={'猴哥':a1,'猴子':a2,'猴孙':a3} ...@@ -5,10 +5,10 @@ score={'猴哥':a1,'猴子':a2,'猴孙':a3}
input('你叫什么') input('你叫什么')
name=input('名字:') name=input('名字:')
print('*'*10) print('*'*10)
if name in score(): if name in score:
print('*'*10) print('*'*10)
info=score[name] score=score[name]
for k,v in info.items(): for k,v in score.items():
print(k,v) print(k,v)
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