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