Commit 2f58f6cc by BellCodeEditor

save project

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