Commit 161d1379 by BellCodeEditor

auto save

parent 907ebc61
Showing with 11 additions and 9 deletions
......@@ -3,11 +3,13 @@ student1 = {'语文':97,'数学':88,'英语':85}
student1 = {'语文':95,'数学':88,'英语':85}
score ={'悟空':student1,'诺依':student1,'小贝':student1}
name = input('请输入名字')
print('*'*30)
if name in score:
info = score(name)
for k,v in info.item():
print(k,v)
else:
print('输入错误')
\ No newline at end of file
while True:
print(q退出)
name = input('请输入名字')
print('*'*30)
if name in score:
info = score(name)
for k,v in info.item():
print(k,v)
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