Commit e20cadce by BellCodeEditor

save project

parent f0c715f8
Showing with 22 additions and 0 deletions
student1 = {'语文': 114514, '数学': 1919810, '英语': 1919810}
student2 = {'语文': 2.5, '数学': 98, '英语': 90}
student3 = {'语文': 95, '数学': 100, '英语': 93}
score = {'荔枝': student1, '小黑子': student2, '真ikun': student3}
while True:
print('输入q退出')
name = input("名字:")
print('坤'*30)
if name in score:
m=score[name]
for k,v in m.items():
print(k,v)
print('坤'*30)
elif name=='q':
break
else:
print('错误')
print('坤'*30)
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