Commit 7d43c564 by BellCodeEditor

save project

parent b2cd2d4a
Showing with 10 additions and 14 deletions
import turtle
pen = turtle.Pen()
# pen.pencolor("red")
# pen.penzive(5)
# pen.right(45)
# pen.forward(100)
# pen.circle(-50,180)
# pen.right(90)
# pen.circle(-50,180)
# pen.forward(100)
# turtle done()
pen.pencolor("red")
pen.pensize(5)
pen.right(45)
pen.forward(100)
pen.circle(-50,180)
pen.left(90)
pen.circle(-50,180)
pen.forward(100)
s = turtle.Screen()
s.bgcolor('red')
pen.penup()
pen.goto(-100,-10)
pen.pendown()
pen.forward(110)
s.bgcolor('blue')
turtle.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment