Commit 2e6a027f by BellCodeEditor

save project

parent d66b6a25
Showing with 10 additions and 8 deletions
import turtle
len1=120
len=len1/2
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
......@@ -7,13 +9,13 @@ pen.goto(100,-100)
pen.write("亲爱的妈妈,\n我爱你。",font=("times",20,"normal"))
pen.hideturtle()
pen1 = turtle.Pen()
pen1.pensize(120)
pen1.pensize(10)
pen1.color("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(len*2)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
pen1.circle(len,180)
pen1.forward(len*2)
turtle.done()
pen1.hideturtle()
\ 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