Commit cefa04c1 by BellCodeEditor

save project

parent 6b0e1217
Showing with 11 additions and 10 deletions
......@@ -7,15 +7,16 @@ len=int(len)
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
pen.hideturtle()
a=turtle.Pen()
len=60
pen.penup()
pen.goto(100,100)
pen.position()
pen.forward(40)
pen.circle(50,180)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
a.penup()
a.goto(100,100)
a.position()
a.forward(40)
a.circle(50,180)
a.forward(2*len)
a.circle(len,180)
a.right(90)
a.circle(len,180)
a.forward(2*len)
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