From 380c21551a6afa335418f8588c64b27fbb843a30 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 12 Jan 2024 18:20:38 +0800 Subject: [PATCH] save project --- diy4弹簧隧道.py | 20 ++++++++++++++++++++ 报菜名.py | 13 +++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 diy4弹簧隧道.py create mode 100644 报菜名.py diff --git "a/diy4\345\274\271\347\260\247\351\232\247\351\201\223.py" "b/diy4\345\274\271\347\260\247\351\232\247\351\201\223.py" new file mode 100644 index 0000000..95b1889 --- /dev/null +++ "b/diy4\345\274\271\347\260\247\351\232\247\351\201\223.py" @@ -0,0 +1,20 @@ +import turtle + +pen=turtle.Pen() +screen=turtle.Screen() +pen.shape("turtle") +pen.speed(11) +screen.bgcolor('black') + +i=0 +while i<200: + pen.pencolor('green') + pen.penup() + pen.goto(0,0) + pen.forward(200) + pen.pendown() + pen.circle(100) + pen.left(2) + i+=1 + +turtle.done() \ No newline at end of file diff --git "a/\346\212\245\350\217\234\345\220\215.py" "b/\346\212\245\350\217\234\345\220\215.py" new file mode 100644 index 0000000..a9ade3a --- /dev/null +++ "b/\346\212\245\350\217\234\345\220\215.py" @@ -0,0 +1,13 @@ +today_menu={'前菜':{'熏鲢鱼':20,'生蚝':20,'面包':10}, + '汤':{'玉米浓汤':15,'蔬菜汤':15,'海鲜汤':15}, + '主菜':{'鱼':40,'虾':30,'蟹':20,'贝壳类':20}, + '间菜':{'牛扒':25,'煨菜':25,'肉排':30}, + "烧烤和沙拉":{'需要':15,'不需要':0}, + '甜品':{'可丽露':20,'优格吐司':15,'蓝莓松饼':20} + } + +for k,v in today_menu.items(): + print('今日' + k + '有:') + for i in v: + print(i,end=' ') #依次告诉客人今天的各类菜有哪些选择 + print() \ No newline at end of file -- libgit2 0.25.0