Python Turtle - Circle Spirograph Tutorial

Опубликовано: 15 Март 2020
на канале: 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()


На этой странице сайта вы можете посмотреть видео онлайн Python Turtle - Circle Spirograph Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Geek Tutorials 15 Март 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 5,582 раз и оно понравилось 62 зрителям. Приятного просмотра!