Commit 72207a00 by BellCodeEditor

save project

parent 22e9dca6
Showing with 4 additions and 2 deletions
...@@ -5,7 +5,10 @@ import turtle ...@@ -5,7 +5,10 @@ import turtle
# pen.hideturtle() # pen.hideturtle()
# turtle.done() # turtle.done()
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
pen.pencolor("red") pen.pencolor("red")
pen.goto(-100,100)
pen.pensize(5) pen.pensize(5)
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(100)
...@@ -17,4 +20,4 @@ pen.circle(50,180) ...@@ -17,4 +20,4 @@ pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.hideturtle() pen.hideturtle()
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