Создаем милую черепашку на модуле turtle



   import  turtle

turtle.bgcolor("black")

turtle.pencolor("yellow")

turtle.color("yellow","green")

turtle.shape("turtle")

turtle.pensize(5)

mycolor=["red","blue","yellow","green","orange"]

k=0

j=200

for i in range(0,17,1):

turtle.pencolor(mycolor[k])

k+=1

if k==4:

k=0

turtle.forward(j)

j=j-10

turtle.left(90)



turtle.done()



#sandbox



@python_practics