1) copy this lines in new file example.py
########################################################
import turtle
def square(test,i):
test.fd(20),test.rt(360/i)
n=12
m=10
t =turtle.Turtle()
for k in range(6):
for j in range(m):
for i in range(n):
square(t,n)
t.rt(30)
t.fd(200)
turtle.mainloop()
#######################################################
2) before run code you need to install turtule modele (ex: ubuntu machine)
open your terminal and tab this command
sudo apt-get install python3-tk
3) to run code tab
python example.py
En esta página del sitio puede ver el video en línea python turtle import : programation python de Duración hora minuto segunda en buena calidad , que subió el usuario best learning 07 mayo 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 59 veces y le gustó 1 a los espectadores. Disfruta viendo!