Commit 1f40612a by BellCodeEditor

save project

parent 8be0b03c
Showing with 13 additions and 9 deletions
......@@ -2,15 +2,19 @@ q1={'1':1,'2':3,'3':4}
q2={'1':1,'2':3,'4':5}
q3={'1':1,'2':3}
q={'w1':q1,'w2':q2,'w3':q3}
ww=input('')
print('*'*3000)
if ww in q:
q=q[ww]
for k,v in q.items():
print(k,v)
print('#'*3000)
else:
print('错误 ')
while True:
print('退出请按s键')
ww=input('')
print('*'*3000)
if ww in q:
q=q[ww]
for k,v in q.items():
print(k,v)
print('#'*3000)
elif ww=='s':
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