Commit 93b1fbea by BellCodeEditor

save project

parent ed6dd8fe
Showing with 8 additions and 1 deletions
score = {"语文":91,"数学":88,"英语:95} student1 = {"语文":91,"数学":88,"英语:95}
student2 = {"语文":91,"数学":88,"英语:95}
student3 = {"语文":91,"数学":88,"英语:95}
score= {"悟空":student1,"诺伊:student2,"小贝":sudent3}
name=input('名字:')
info=score[name]
for kv in info.itens():
prink(k,v)
for k,v in score.items(): for k,v in score.items():
print(k,v) print(k,v)
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