Commit cad9797b by BellCodeEditor

save project

parent 6cdbadae
Showing with 7 additions and 2 deletions
......@@ -3,6 +3,11 @@ b = {'语文': 97, '数学': 98, '英语': 90}
p = {'语文': 95, '数学': 100, '英语': 93}
score = {'奥逼': s, '傻逼': b, '劳大': p}
name = input("名字:")
a = score[name]
for k,v in a.items():
if name in score:
a = score[name]
for k,v in a.items():
print(k,v)
else:
print("*"*30)
print("名字错误,请重新输入!")
print("*"*30)
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