Commit 8fca2565 by BellCodeEditor

save project

parent 52ecee8d
Showing with 13 additions and 3 deletions
...@@ -21,11 +21,20 @@ import turtle ...@@ -21,11 +21,20 @@ import turtle
# pen.forward(2*len) # pen.forward(2*len)
# turtle.done() # turtle.done()
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("lightblue")
pen.penup()
pen.goto(0,-100)
pen.pendown()
pen.fillcolor("red") pen.fillcolor("red")
pen.pensize(15) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.begin_fill() pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill() pen.end_fill()
turtle.done() 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