Commit a9f0ed09 by BellCodeEditor

save project

parent 0cd0312d
Showing with 8 additions and 5 deletions
import turtle
import turtle
import turtle
# pen=turtle.Pen()
# pen.write("你好呀诺依,\n我也会turtle了,\n这个turtle真好用!",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen=turtle.Pen()
pen.write("你好呀诺依,\n我也会turtle了,\n这个turtle真好用!",font=("Times",10,"normal"))
pen.fillcolor("red")
pen.hideturtle()
pen.begin_fill()
pen.pensize(5)
pen.pencolor("red")
pen.left(180)
pen.forward(100)
pen.right(180)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.right(135)
pen.forward(100)
pen.end_fill()
pen.hideturtle()
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