Commit a0265ae9 by BellCodeEditor

save project

parent 6cad1680
Showing with 6 additions and 2 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen() pen=turtle.Pen()
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("blue")
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(100)
pen.circle(50,180) pen.circle(50,180)
...@@ -9,6 +14,5 @@ pen.right(90) ...@@ -9,6 +14,5 @@ pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.color('red') pen.color('red')
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
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