Commit d251ad49 by BellCodeEditor

save project

parent 8a4d50d0
Showing with 12 additions and 0 deletions
student1={'语文':91,'数学':88,'英语':89}
student2={'语文':9,'数学':68,'英语':8}
student3={'语文':1,'数学':8,'英语':5}
score={'悟空':student1,'诺依':student2,'小贝':student3,}
while True:
print('*'*50)
a=input("名字:")
if a in score:
b=score[a]
for k,v in b.items():
print(k,v)
\ 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