Commit cad9797b by BellCodeEditor

save project

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