Commit 78cc86ac by BellCodeEditor

save project

parent d2412557
Showing with 17 additions and 0 deletions
a={'q':7,'w':6,'e':8}
a1={'q':4,'w':1,'e':2}
a2={'q':3,'w':5,'e':9}
a3={'a':a,'b':a1,'c':a2}
print('*'*20)
while True:
print('退出请按q')
u=input("你想查谁的成绩?")
if u in a3:
for x,y in a3[u].items():
print(x,y)
elif u=='q':
break
else:
print('用户不存在')
\ No newline at end of file
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