Commit 4dc09979 by BellCodeEditor

save project

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