Commit bbe91235 by BellCodeEditor

save project

parent 79c12b80
Showing with 8 additions and 3 deletions
...@@ -2,12 +2,17 @@ s = {'语文': 91, '数学': 88, '英语': 85} ...@@ -2,12 +2,17 @@ s = {'语文': 91, '数学': 88, '英语': 85}
t = {'语文': 97, '数学': 98, '英语': 90} t = {'语文': 97, '数学': 98, '英语': 90}
u = {'语文': 95, '数学': 100, '英语': 93} u = {'语文': 95, '数学': 100, '英语': 93}
c = {'悟空': s, '诺依': t, '小贝': u} c = {'悟空': s, '诺依': t, '小贝': u}
e=input("名子:") while True:
if e in c: e=input("名子:")
print("*"*15)
if e in c:
n=c[e] n=c[e]
for k,v in n.items(): for k,v in n.items():
print(k,v) print(k,v)
else: print("*"*15)
elif e=="q":
break
else:
print("名子错误") print("名子错误")
......
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