1-Python - 画太阳花

效果

示例代码

import turtle as t
import time
t.color("red", "yellow")
t.speed(10)
t.begin_fill()
for _ in range(50):
    t.forward(200)
    t.left(170)
t.end_fill()
time.sleep(1)

参考:[10分钟轻松学会 Python turtle 绘图](https://www.cnblogs.com/nowgood/p/turtle.html)
posted @ 2019-02-26 18:01  听雨危楼  阅读(1049)  评论(0编辑  收藏  举报