Город МОСКОВСКИЙ
00:02:25

Python Turtle - Code the Ukraine Flag Tutorial

Аватар
Python практически
Просмотры:
25
Дата загрузки:
02.12.2023 11:35
Длительность:
00:02:25
Категория:
Обучение

Описание

Learn how to quickly draw the Ukraine flag using Python's Turtle module.

⭐ 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_medium=referral&utm_source=youtube&utm_campaign=geektutorials&utm_content=description-only

~ CODE ~

from turtle import *

speed(0)
setup(800, 500)
bgcolor("yellow")

penup()
goto(-400, 250)
pendown()

color("royalblue")
begin_fill()
forward(800)
right(90)
forward(250)
right(90)
forward(800)
end_fill()

hideturtle()

Рекомендуемые видео