Commit 2ea1106c by BellCodeEditor

save project

parent f03f627e
Showing with 9 additions and 6 deletions
......@@ -3,8 +3,11 @@ b = {'语文': 97, '数学': 98, '英语': 90}
c = {'语文': 95, '数学': 100, '英语': 93}
s = {'悟空': a, '诺依': b, '小贝':c}
name = input('请输入你的名字')
if name in s:
for er,zi in s["悟空"].items():
print(er,zi)
else:
print('您输入的名字错误')
\ No newline at end of file
while True
if name in s:
for er,zi in s["悟空"].items():
print(er,zi)
elif name == 'q':
print('*'*10000000000000)
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