From e019e55928842f777fe9c52c7781811d952f5114 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 12 Mar 2023 09:23:03 +0800 Subject: [PATCH] save project --- diy.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/diy.py b/diy.py index 2efdebb..9ce187e 100644 --- a/diy.py +++ b/diy.py @@ -7,11 +7,10 @@ today_menu={'前菜':{'熏鲢鱼':20,'生蚝':20,'面包':10}, '主菜':{'鱼':40,'虾':30,'蟹':20,'贝壳类':20}, '间菜':{'牛扒':25,'煨菜':25,'肉排':30}, "烧烤和沙拉":{'需要':15,'不需要':0}, - '甜品':{'可丽露':20,'优格吐司':15,'蓝莓松饼':20} - } + '甜品':{'可丽露':20,'优格吐司':15,'蓝莓松饼':20}} for k,v in today_menu.items(): print('今日' + k + '有:') - for i in v.values(): + for i in v: print(i,end=' ') #依次告诉客人今天的各类菜有哪些选择 print() \ No newline at end of file -- libgit2 0.25.0