Python Turtle - Square Spirograph Tutorial

Publicado el: 15 marzo 2020
en el canal de: Geek Tutorials
4,118
56

Learn how to quickly and easily draw a square spirograph using the Turtle module in Python.

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! https://www.kite.com/get-kite/?utm_me...

~ CODE ~

from turtle import *

speed(0)
bgcolor("black")
pensize(3)

for x in range(5):
for colours in ["red", "magenta", "blue", "cyan", "green", "yellow", "white"]:
color(colours)
left(12)
for i in range(4):
forward(200)
left(90)

hideturtle()


En esta página del sitio puede ver el video en línea Python Turtle - Square Spirograph Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Geek Tutorials 15 marzo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,118 veces y le gustó 56 a los espectadores. Disfruta viendo!