Commit 2ea1106c by BellCodeEditor

save project

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