Commit bb0833d1 by BellCodeEditor

save project

parent 6ef05402
Showing with 13 additions and 2 deletions
o={'数学':88,'语文':90,'英语'}
\ No newline at end of file
o={'数学':88,'语文':90,'英语':87}
t={'数学':89,'语文':92,'英语':85}
p={'数学':83,'语文':93,'英语':82}
score={'o':o,'t':t,'p':p}
while True:
name = input("名字:")
if name in score:
a = score[name]
for k,v in a.items():
print(k,v)
break
else:
print('输入有误')
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