Commit c9ba0819 by BellCodeEditor

save project

parent f0c715f8
Showing with 15 additions and 0 deletions
a1={'语':100,'数':99,'英':98}
a2={'语':97,'数':96,'英':95}
a3={'语':94,'数':93,'英':92}
score={'猴哥':a1,'猴子':a2,'猴孙':a3}
input('你叫什么')
name=input('名字:')
print('*'*10)
if name in score():
print('*'*10)
info=score[name]
for k,v in info.items():
print(k,v)
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