Commit d77d3a8f by BellCodeEditor

save project

parent 013e8b48
Showing with 18 additions and 0 deletions
a={'语文':90,'数学':89,'英语':88}
b={'语文':92,'数学':81,'英语':83}
c={'语文':91,'数学':82,'英语':84}
score={'悟空':a,'诺一':b,'小贝':c}
while True:
print("sb")
name=input('名字:')
if name in score:
print('*'*30)
for k,v in score[name].items():
print(k,v)
print("*"*30)
elif 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