Commit e51f367a by BellCodeEditor

save project

parent 143a37a2
Showing with 7 additions and 3 deletions
...@@ -5,8 +5,12 @@ ...@@ -5,8 +5,12 @@
score = {"傻逼":{'语文':91,'数学':88,'英语':85}, score = {"傻逼":{'语文':91,'数学':88,'英语':85},
"大傻逼":{'语文':0,'数学':-1,'英语':-2}, "大傻逼":{'语文':0,'数学':-1,'英语':-2},
"超级大傻逼":{'语文':-100,'数学':-200,'英语':-300}} "超级大傻逼":{'语文':-100,'数学':-200,'英语':-300}}
for i,q in score.items(): name=input("输入名字:")
print(i,q) if name in score:
print(name)
else:
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