This tutorial will show you how to access the basic function of the turtle module. To see the complete set of turtle commands go to the official Python 3.1 turtle page:
https://docs.python.org/release/3.1.3...
Have fun creating cool designs.
Sample code 01:
import turtle
turtle.speed(9)
turtle.forward(200)
turtle.right(270)
turtle.forward(200)
turtle.right(270)
turtle.forward(200)
turtle.right(270)
turtle.forward(200)
turtle.circle(75)
turtle.exitonclick()
Sample Code 02:
import turtle
turtle.speed(9)
turtle.pencolor("blue")
for i in range(50):
turtle.forward(50)
turtle.left(123)
turtle.pencolor("red")
for i in range(50):
turtle.forward(100)
turtle.left(123)
turtle.pencolor("green")
for i in range(50):
turtle.forward(150)
turtle.left(123)
turtle.exitonclick()
En esta página del sitio puede ver el video en línea Python Turtle Module introduction and examples de Duración hora minuto segunda en buena calidad , que subió el usuario Leon Marsden 10 septiembre 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 42,646 veces y le gustó 322 a los espectadores. Disfruta viendo!