Commit f03f627e by BellCodeEditor

save project

parent 01022df3
Showing with 11 additions and 7 deletions
1 = {'语文': 00, '数学': 00, '英语': 99}
2 = {'语文': 97, '数学': 98, '英语': 90}
3 = {'语文': 95, '数学': 100, '英语': 93}
s = {'悟空': 1, '诺依': 2, '小贝':3}
for er,zi in s.items():
print(s)
\ No newline at end of file
a = {'语文': 00, '数学': 00, '英语': 99}
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
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