Commit 3b817894 by BellCodeEditor

auto save

parent 6f7ab654
Showing with 3 additions and 0 deletions
......@@ -5,6 +5,7 @@ r = {'语文':98,'数学':96,'英语':76}
t = {'语文':100,'数学':0,'英语':0}
score = {'小明':q,'悟空':w,'诺依':e,'小贝':r,'高样':t}
while True:
print('退出按q')
name=input('名字:')
print('*'*30)
if name in score:
......@@ -12,6 +13,7 @@ while True:
for i,v in score.items():
print(i,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