Commit f9f36b65 by BellCodeEditor

save project

parent e5944909
Showing with 7 additions and 5 deletions
import turtle
screen=turtle.Screen()
len=60
screen.bgcolor("green")
pen=turtle.Pen()
pen.penup()
......@@ -8,14 +9,15 @@ pen.write("人生中不时有些难得的时ĺ»ďĽŚ\n凡事一经觉定,\nĺ°±č
pen.hideturtle()
pen1=turtle.Pen()
pen1.begin_fill()
pen1.fillcolor("pink")
pen1.fillcolor("red")
pen1.pensize(5)
pen1.pencolor("pink")
pen1.left(45)
pen1.forward(120)
pen1.circle(60,180)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(60,180)
pen1.forward(120)
pen1.circle(len,180)
pen1.forward(2*len)
pen1.end_fill()
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