Commit d61ffc0a by BellCodeEditor

save project

parent f0d71d71
Showing with 9 additions and 5 deletions
...@@ -2,11 +2,14 @@ import turtle ...@@ -2,11 +2,14 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.pensize(5) pen.pensize(5)
pen.pencolor('black') pen.pencolor('black')
len=60
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(len*2)
pen.circle(50,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(len,180)
pen.forward(100) pen.forward(len*2)
turtle.done() pen.up()
pen.goto(0,-50)
pen.write('你要写的内容',font=('Tims',30,'normal')) pen.write('你要写的内容',font=('Tims',30,'normal'))
turtle.done()
\ No newline at end of file
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