Commit c5b61a0a by BellCodeEditor

save project

parent 62692a77
Showing with 19 additions and 0 deletions
student1 = {'语文': 41, '数学': 28, '英语': 23,'科学':20,'美术':80,'傻逼音乐':11,'信息技术':30}
student2 = {'语文': 97, '数学': 98, '英语': 100,'科学':92,'美术':95,'傻逼音乐':83,'信息技术':80}
student3 = {'语文': 93, '数学': 100, '英语': 100,'科学':92,'美术':22,'傻逼音乐':75,'信息技术':98}
student4 = {'语文': 60, '数学': 55, '英语': 39,'科学':59,'美术':23,'傻逼音乐':45,'信息技术':29}
score = {'蒋成滨': student1, '虞悦': student2, '王启辰': student3,'朱羽': student4}
while True :
name = input("名字:")
print('*'*30)
if name in score :
score = score[name]
for k,v in score.items():
print(k,v)
print('*'*30)
elif name=='q':
break
else:
print('输入错误')
\ 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