Commit 2bdf83e2 by BellCodeEditor

save project

parent b7498cbe
Showing with 11 additions and 0 deletions
student1 = {'语文':92,'数学':100,'英语':100}
student2 = {'语文':0,'数学':98,'英语':0}
student3 = {'语文':57,'数学':88,'英语':100}
score = {'刘汉强':student1,'王天睿':student2,'SB':student3}
name = input("名字:")
info = score[name]
for k,v in info.items():
print (k,v)
print(len(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