1、打开Python编辑器
2、导入from turtle import *模块
3、接着输入如下代码:pensize(2)color('red','pink')pendown()f泠贾高框or i in range(5): begin_fill() circle(90,80) left(100) circle(90,80) end_fill() left(28)
4、然后按F5运行代码,就可以看到花朵的效果了
1、打开Python编辑器
2、导入from turtle import *模块
3、接着输入如下代码:pensize(2)color('red','pink')pendown()f泠贾高框or i in range(5): begin_fill() circle(90,80) left(100) circle(90,80) end_fill() left(28)
4、然后按F5运行代码,就可以看到花朵的效果了