Commit cefa04c1 by BellCodeEditor

save project

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