1、打开Python编辑器

2、导入from turtle import *模块

3、接着输入如下代码:
pensize(2)
color('red','pink')
pendown()
for i in range(5):
begin_fill()
circle(90,80)
left(100)
circle(90,80)
end_fill()
left(28)

4、然后按F5运行代码,就可以看到花朵的效果了

时间:2026-02-13 14:55:22
1、打开Python编辑器

2、导入from turtle import *模块

3、接着输入如下代码:
pensize(2)
color('red','pink')
pendown()
for i in range(5):
begin_fill()
circle(90,80)
left(100)
circle(90,80)
end_fill()
left(28)

4、然后按F5运行代码,就可以看到花朵的效果了
