Commit c0de851e by BellCodeEditor

save project

parent b322444d
Showing with 10 additions and 0 deletions
...@@ -2,3 +2,12 @@ score = {'语文':88.5,'数学':88,'英语':98} ...@@ -2,3 +2,12 @@ score = {'语文':88.5,'数学':88,'英语':98}
for k,v in score.items(): for k,v in score.items():
print(k,v) print(k,v)
student1={'语文':88.5,'数学':88,'英语':98}
student1={'语文':88,'数学':80,'英语':94}
student1={'语文':100,'数学':87,'英语':99}
score={"悟空:student1,"阿的":student2,"都为":student3}
name=input("名字:")
info=score[name]
for k,v in info.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