Commit e007fe3d by BellCodeEditor

save project

parent 7dcb4111
Showing with 13 additions and 0 deletions
...@@ -4,3 +4,16 @@ ...@@ -4,3 +4,16 @@
# pen1.write("sb",font=("Times",50,"normal")) # pen1.write("sb",font=("Times",50,"normal"))
# pen1.hideturtle() # pen1.hideturtle()
# turtle.done() # turtle.done()
import turtle
pen2=turtle.Pen()
pen2.pencolor("green")
pen2.pensize(20)
pen2.left(45)
pen2.forward(100)
pen2.circle(50,180)
pen2.right(90)
pen2.circle(50,180)
pen2.forward(100)
pen2.hideturtle()
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