Commit 50fafd18 by BellCodeEditor

auto save

parent f0c715f8
Showing with 11 additions and 0 deletions
student1 = {'语文': 1, '数学': 8, '英语': 5}
student2 = {'语文': 7, '数学': 8, '英语': 0}
student3 = {'语文': 9, '数学': 10, '英语': 9}
score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True:
name=input("你肾么名记 ,大大滴,快说,不然死啦死啦地")
if name in score:
for k,v in score[name].items():
print(k,v)
else:
print("你谁呀,鬼鬼鬼鬼鬼鬼鬼,退退退退退退退退退退退退退退退退退退")
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