Commit ce62089c by BellCodeEditor

save project

parent b9e93774
Showing with 9 additions and 5 deletions
......@@ -4,16 +4,19 @@ screen.bgcolor("green")
pen=turtle.Pen()
pen.write("你好,好久不见\n你还好吗",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
pen.goto(-100,100)
pen.pendown()
pen.pensize(7)
pen.pencolor("red")
pen.fillcolor("blue")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(10)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(len,180)
pen.forward(2*len)
pen.end_fill()
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