Commit 20dc987f by BellCodeEditor

save project

parent bf4aae19
Showing with 7 additions and 6 deletions
......@@ -2,19 +2,20 @@ import turtle
sc=turtle.Screen()
sc.bgcolor("light blue")
pen=turtle.Pen()
pen.pensize(50)
len=60.5
pen.pensize(25)
pen.pencolor("red")
pen.begin_fill()
pen.lt(45)
pen.fd(100)
pen.circle(50,180)
pen.fd(2*len)
pen.circle(len,180)
pen.rt(90)
pen.circle(50,180)
pen.fd(100)
pen.circle(len,180)
pen.fd(2*len)
pen.penup()
pen.lt(45)
pen.fd(150)
pen.fd(200)
pen.end_fill()
pen.write("你好,\n儿子",font=("Times",30,"normal"))
pen.hideturtle()
......
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