Python Turtle - Code the Latvian Flag Tutorial

Опубликовано: 22 Апрель 2020
на канале: Geek Tutorials
1,477
15

Learn how to quickly draw the Latvian 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_me...

~ CODE ~

from turtle import *

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

Move to start position
penup()
goto(-400, -50)
pendown()

White stripe
color("white")
begin_fill()
forward(800)
left(90)
forward(100)
left(90)
forward(800)
end_fill()

hideturtle()


На этой странице сайта вы можете посмотреть видео онлайн Python Turtle - Code the Latvian Flag Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Geek Tutorials 22 Апрель 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,477 раз и оно понравилось 15 зрителям. Приятного просмотра!