Commit 61e765f7 by BellCodeEditor

save project

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