Introduction to Python Turtle

preview_player
Показать описание
Learn about the basic features of Python's Turtle module. In this video you will learn how to draw lines, move in any direction, change the colour and size of lines and will finish with an activity to draw your name.

~ CODE ~
from turtle import *

pensize(10)
color("blue")

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

# The letter 'T'
forward(200)
back(100)
right(90)
forward(200)

# Move to the next letter
penup()
back(200)
left(90)
forward(150)
pendown()
color("yellow")
pensize(20)

# The letter 'I'
right(90)
forward(200)

# Move to the next letter
penup()
back(200)
left(90)
forward(50)
pendown()
color("red")
pensize(30)

# The letter 'M'
right(90)
forward(200)
back(200)
left(30)
forward(150)
left(120)
forward(150)
right(150)
forward(200)
Рекомендации по теме
Комментарии
Автор

Great video! It helped me with my homework.

LaudenVanHolsbeke
Автор

Hey could you show me how to go to a link using python I’m very new to this

jackanderson
Автор

I try to use Jupitar note to import turtle * but its not working

vikasnilajkar
Автор

hello, I want to print "Exosome", but I couldn't understand that you did it on y axis and x axis. Is there any other way to print it?

nuqc
Автор

what app are you using for this? thanks!!

MrVerna-ovol
Автор

I making Turtle 🐢 🐢Game will make Dev Log video soon.

bonkaiblue