Commit 3e68c783 by BellCodeEditor

auto save

parent 9d21ab68
Showing with 18 additions and 3 deletions
s1={'语文':89,'数学':96,'英语':85}
s2={'语文':99,'数学':86,'英语':95}
s3={'语文':83,'数学':100,'英语':95}
s={'悟空':s1,'李四':s2,'王二':s3}
print(s['悟空'])
\ No newline at end of file
s={'1':s1,'李四':s2,'王二':s3}
while True:
n=input('请输入姓名:')
if n=="q":
print('本次查询到此他奶奶的结束,欢迎他娘的下次光临')
break
else:
if n in s:
print('*'*36)
print('姓名:'+n)
for k,v in s[n].items():
print(k,v)
print('*'*36)
else:
print('*'*37)
print('对不起,该用户名不存在,滚!!!!!!')
print('*'*37)
\ 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