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 @   听雨危楼  阅读(1178)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
主题色彩