Python Turtle - Square Spirograph Tutorial

Published: 15 March 2020
on channel: 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()


On this page of the site you can watch the video online Python Turtle - Square Spirograph Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Geek Tutorials 15 March 2020, share the link with friends and acquaintances, this video has already been watched 4,118 times on youtube and it was liked by 56 viewers. Enjoy your viewing!