Commit f2351795 by BellCodeEditor

save project

parent 6e0b2493
Showing with 21 additions and 3 deletions
import turtle
pen=turtle.Pen()
pen.write("你好呀!\n小明",font=("Times",20,"normal"))
pen.hideturtle()
# pen=turtle.Pen()
# pen.write("你好呀!\n小明",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
p=turtle.Pen()
p.pensize(5)
p.begin_fill()
p.fillcolor("red")
p.pencolor("red")
p.left(45)
p.forward(100)
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.forward(100)
p.end_fill()
p.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