Commit 3fd29ff8 by BellCodeEditor

save project

parent 724966fd
Showing with 8 additions and 3 deletions
...@@ -16,9 +16,14 @@ ...@@ -16,9 +16,14 @@
# pen.left(45) # pen.left(45)
# pen.forward(2*len) # pen.forward(2*len)
import turtle import turtle
pen1=turtle.pen pen1=turtle.Pen()
pen1.circle(50) pen1.left(45)
turtle.done pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
turtle.done()
# pen.circle(len,180) # pen.circle(len,180)
# pen.right(90) # pen.right(90)
# pen.circle(len,180) # pen.circle(len,180)
......
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