Commit 678b56e2 by BellCodeEditor

save project

parent 56bec592
Showing with 15 additions and 1 deletions
st1={'语文':86,'数学':98,'英语':89}
st2={'语文':91,'数学':88,'英语':95}
st3={'语文':93,'数学':83,'英语':82}
score={'a':st1,'b':st2,'c':st3}
while True:
name=input("名字: ")
ff=name
if name==score[name]:
for k,v in name.items():
print(k.v)
else:
print("输入错误")
\ No newline at end of file
score = {'语文':91,'数学':88,'英语':85} score = {'语文':91,'数学':88,'英语':85}
for k,y in score: for k,v in score:
print(score) print(score)
\ 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