Commit b6aad949 by BellCodeEditor

save project

parent 7f7de862
Showing with 4 additions and 3 deletions
stu1 = {'语文':999999999,'数学':999999999,'英语':999999999} stu1 = {'语文':999999999,'数学':999999999,'英语':999999999}
...@@ -3,9 +3,9 @@ stu2 = {'语文':0,'数学':0,'英语':0} ...@@ -3,9 +3,9 @@ stu2 = {'语文':0,'数学':0,'英语':0}
stu3 = {'语文':0,'数学':0,'英语':0} stu3 = {'语文':0,'数学':0,'英语':0}
sc = {'窝室嫩叠':stu1,'傻逼':stu2,'脑残':stu3} sc = {'窝室嫩叠':stu1,'傻逼':stu2,'脑残':stu3}
n = input("名字:")
print("-" * 20)
while True: while True:
n = input("名字:")
print("-" * 20)
if n in sc: if n in sc:
sc = sc[n] sc = sc[n]
for k,v in sc.items(): for k,v in sc.items():
...@@ -15,3 +15,4 @@ while True: ...@@ -15,3 +15,4 @@ while True:
break break
else: else:
print("查询错误,你的记忆力比智障都差") print("查询错误,你的记忆力比智障都差")
break
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