Commit aeaf2688 by BellCodeEditor

save project

parent fcb187db
Showing with 11 additions and 9 deletions
stu1 = {'语文':999999999,'数学':999999999,'英语':999999999}
stu1 = {'语文':999999999,'数学':999999999,'英语':999999999}
......@@ -5,10 +5,13 @@ sc = {'窝室嫩叠':stu1,'傻逼':stu2,'脑残':stu3}
n = input("名字:")
print("-" * 20)
if n in sc:
sc = sc[n]
for k,v in sc.items():
print(k,v)
else:
print("查询错误,你的记忆力比智障都差")
print("-" * 20)
\ No newline at end of file
while True:
if n in sc:
sc = sc[n]
for k,v in sc.items():
print(k,v)
print("-" * 20)
elif name == "wwwwwww":
break
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