Python Turtle - Circle Spirograph Tutorial

Описание к видео Python Turtle - Circle Spirograph Tutorial

Learn how to quickly and easily draw a circle 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(2)

for i in range(6):
for colours in ["red", "magenta", "blue", "cyan", "green", "yellow", "white"]:
color(colours)
circle(100)
left(10)

hideturtle()

Комментарии

Информация по комментариям в разработке