Commit ce62089c by BellCodeEditor

save project

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