def kwiatek(r):
numPow = 1
turtle.colormode(255)
turtle.fillcolor(238, 255, 0)
ustDoKolka(r)
turtle.begin_fill()
turtle.circle(r)
turtle.end_fill()
ustDoPlatkow(r)
while numPow <= 12:
turtle.pu()
turtle.fd(r)
turtle.pd()
trojkat(r)
turtle.pu()
turtle.fd(r)
turtle.rt(180)
turtle.rt(360/12)
numPow = numPow + 1
评论列表
文章目录