Commit 3ad3ffa1 by BellCodeEditor

save project

parent 41e2982b
Showing with 6 additions and 5 deletions
...@@ -14,6 +14,7 @@ while True : ...@@ -14,6 +14,7 @@ while True :
print('*'*30) print('*'*30)
for k,v in a.items(): for k,v in a.items():
print(k,v) print(k,v)
print('*'*30)
break break
else: else:
print('输入错误') print('输入错误')
\ No newline at end of file
b = {'可乐':10}
a = {'旺仔牛奶':5} for i in range(2):
for k,v in a.items(): print(i)
print(k,v) \ No newline at end of file
\ 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