Python Turtle - Code the Finland Flag Tutorial

Pubblicato il: 07 aprile 2020
sul canale di: Geek Tutorials
2,039
22

Learn how to quickly draw the Finland 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)

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

Blue Cross
color("royalblue")
begin_fill()
forward(800)
left(90)
forward(100)
left(90)
forward(800)
end_fill()

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

begin_fill()
forward(100)
right(90)
forward(500)
right(90)
forward(100)
end_fill()

hideturtle()


In questa pagina del sito puoi guardare il video online Python Turtle - Code the Finland Flag Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Geek Tutorials 07 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,039 volte e gli è piaciuto 22 spettatori. Buona visione!