Commit 3d21c085 by BellCodeEditor

save project

parent 93b1fbea
Showing with 6 additions and 3 deletions
...@@ -4,7 +4,9 @@ student3 = {"语文":91,"数学":88,"英语:95} ...@@ -4,7 +4,9 @@ student3 = {"语文":91,"数学":88,"英语:95}
score= {"悟空":student1,"诺伊:student2,"小贝":sudent3} score= {"悟空":student1,"诺伊:student2,"小贝":sudent3}
name=input('名字:') name=input('名字:')
info=score[name] info=score[name]
for kv in info.itens(): for kv in score.itens():
prink(k,v)
for k,v in score.items():
print(k,v) print(k,v)
print('*'*30)
if name in score:
score=score[Name]
for k,v in 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