Commit f20c40ad by BellCodeEditor

save project

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