turtle库 使用
turtle_sunflower
# coding=utf-8
import turtle, time
# 同时设置pencolor=color1, fillcolor=color2
turtle.pensize(5)
turtle.color("#ff8585", "#ff4646")
turtle.speed('fast')
turtle.begin_fill()
#To be called just before drawing a shape to be filled.
#要填充之前就必须调用.
原创
2021-03-11 11:46:23 ·
622 阅读 ·
0 评论