Commit 61e765f7 by BellCodeEditor

save project

parent 6e0cef7d
Showing with 8 additions and 6 deletions
...@@ -4,16 +4,18 @@ a.penup() ...@@ -4,16 +4,18 @@ a.penup()
a.goto(-100,0) a.goto(-100,0)
a.write('听我说谢谢你',font=('Tine',30,'normal')) a.write('听我说谢谢你',font=('Tine',30,'normal'))
len=50
a1=turtle.Pen() a1=turtle.Pen()
a1.forward(100) a1.pencolor('red')
a1.left(45) a1.left(45)
a1.forward(100) a1.forward(2*len)
a1.circle(50,180) a1.circle(len,180)
a1.right(90) a1.right(90)
a1.circle(50,180) a1.circle(len,180)
a1.forward(100) a1.forward(2*len)
s=turtle.Screen() s=turtle.Screen()
s.bgcolor('pink') s.bgcolor('yellow')
a.hideturtle() a.hideturtle()
turtle.done() 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