Python Turtle - Circle Spirograph Tutorial

Veröffentlicht am: 15 März 2020
auf dem Kanal: Geek Tutorials
5,582
62

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()


Auf dieser Seite können Sie das Online-Video Python Turtle - Circle Spirograph Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Geek Tutorials 15 März 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,582 Mal angesehen und es wurde von 62 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!