Commit 36ac28bf by BellCodeEditor

save project

parent 207cd241
Showing with 9 additions and 12 deletions
...@@ -8,15 +8,11 @@ pen=turtle.Pen() ...@@ -8,15 +8,11 @@ pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal")) pen.write("你好\nSB.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
pen.penup() pen1.left(45)
pen.goto(100,100) pen1.forward(len)
pen.pendown() pen1.circle(len/2,180)
pen.pensize(5) pen1.right(90)
pen.pencolor("red") pen1.circle(len/2,180)
pen.left(45) pen1.forward(len)
pen.forward(2*len) pen1.hideturtle()
pen.circle(len,180) turtle.done()
pen.right(90) \ No newline at end of file
pen.circle(len,180)
pen.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