python画太阳花

 

import turtle as t
t.color("red","yellow")
t.begin_fill()
for i in range(50):
t.fd(200)
t.left(170)
t.end_fill()
t.done()

 

 

 

posted @ 2020-09-24 17:12  nanfengnan  阅读(517)  评论(0编辑  收藏  举报