In this video, we'll have some fun playing around, drawing letters and designs with the Turtle module in Python.
import turtle
t = turtle.Turtle()
t.speed(1)
# Write your turtle code here
screen = turtle.Screen()
screen.exitonclick()
import turtle
t = turtle.Turtle()
t.speed(1)
t.color("dark green")
# t.penup()
# t.backward(300)
# t.pendown()
#
# t.left(90)
#
# # Letter P
# t.begin_fill()
# t.forward(100)
# t.right(90)
# t.forward(20)
# t.circle(-30,180)
# t.left(90)
# t.forward(40)
# t.right(90)
# t.forward(20)
# t.end_fill()
#
# #move to new spot
# t.penup()
# t.backward(80)
# t.right(90)
# t.pendown()
#
# # Letter y
# t.begin_fill()
# t.left(45)
# t.forward(50)
# t.right(90)
# t.forward(20)
# t.right(90)
# t.forward(50)
# t.left(90)
# t.forward(50)
# t.right(90)
# t.forward(20)
# t.right(90)
# t.forward(120)
# t.right(90)
# t.forward(20)
# t.right(90)
# t.forward(50)
# t.end_fill()
t.circle(10)
t.circle(20)
t.circle(30)
t.circle(40)
t.circle(50)
t.circle(60)
t.circle(70)
t.circle(80)
t.circle(90)
screen = turtle.Screen()
screen.exitonclick()