def tetka(orient=1, bokKw=10):
turtle.colormode(255)
turtle.fillcolor(0, 91, 24)
turtle.begin_fill()
turtle.fd(bokKw*3)
turtle.rt(90*orient)
turtle.fd(bokKw)
turtle.rt(90*orient)
turtle.fd(bokKw)
turtle.lt(90*orient)
turtle.fd(bokKw)
turtle.rt(90*orient)
turtle.fd(bokKw)
turtle.rt(90*orient)
turtle.fd(bokKw)
turtle.lt(90*orient)
turtle.fd(bokKw)
turtle.rt(90*orient)
turtle.fd(bokKw)
turtle.rt(90*orient)
turtle.end_fill()
评论列表
文章目录