Commit c5b2cd7d by BellCodeEditor

save project

parent 233f078b
Showing with 5 additions and 4 deletions
import turtle
len=50
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write('你好 \n xxx',font=('Times',20,'normal'))
pen=turtle.Pen()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.circle(len,180)
pen1.hideturtle()
pen.hideturtle()
pen.forward(100)
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