Commit fc43acd8 by BellCodeEditor

save project

parent c66a449e
Showing with 15 additions and 14 deletions
...@@ -6,17 +6,18 @@ len=screen.textinput("100","100") ...@@ -6,17 +6,18 @@ len=screen.textinput("100","100")
len=int(len) 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() t.turtledone()
len=60 # pen.hideturtle()
pen.penup() # len=60
pen.goto(100,100) # pen.penup()
pen.pendown() # pen.goto(100,100)
pen.pensize(5) # pen.pendown()
pen.pencolor("red") # pen.pensize(5)
pen.left(45) # pen.pencolor("red")
pen.forward(2*len) # pen.left(45)
pen.circle(len,180) # pen.forward(2*len)
pen.right(90) # pen.circle(len,180)
pen.circle(len,180) # pen.right(90)
pen.forward(2*len) # pen.circle(len,180)
turtle.done() # 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