Commit f13564a1 by BellCodeEditor

save project

parent d3dd4801
Showing with 11 additions and 9 deletions
......@@ -2,11 +2,13 @@ student1 = {"语文":91,"数学":88,"英语:95}
student2 = {"语文":91,"数学":88,"英语:95}
student3 = {"语文":91,"数学":88,"英语:95}
score= {"悟空":student1,"诺伊:student2,"小贝":sudent3}
name=input('名字:')
info=score[name]
for kv in score.itens():
print(k,v)
print('*'*30)
if name in score:
score=score[Name]
for k,v in score.
\ No newline at end of file
while ture:
name=input('名字:')
info=score[name]
for kv in score.itens():
print(k,v)
print('*'*30)
elif name=='q':
break查询错误请重新输入
print('*'*30)
\ 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