Commit b921c1c2 by BellCodeEditor

save project

parent ba0229c4
Showing with 10 additions and 3 deletions
...@@ -11,5 +11,12 @@ today_menu={'前菜':{'熏鲢鱼':20,'生蚝':20,'面包':10}, ...@@ -11,5 +11,12 @@ today_menu={'前菜':{'熏鲢鱼':20,'生蚝':20,'面包':10},
} }
for k,v in today_menu.items(): for k,v in today_menu.items():
print('今日' + k + '有:') print('今日' + k + '有:' + str(v))
for i in v # for i in v.items():
\ No newline at end of file # print(i)
# a = {"a":1, "b":2}
# for i in a:
# print(i)
\ 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