Back to Browse

Python Turtle - Code the Latvian Flag Tutorial

1.5K views
Apr 22, 2020
3:02

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

Download

1 formats

Video Formats

360pmp44.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Python Turtle - Code the Latvian Flag Tutorial | NatokHD