diff --git a/diy1.py b/diy1.py index d7c02dc..ab35052 100644 --- a/diy1.py +++ b/diy1.py @@ -1,19 +1,20 @@ import turtle pen=turtle.Pen() +len=80 pen.penup() screen=turtle.Screen() screen.bgcolor("light blue") pen.goto(100,-100) pen.pendown() -pen.write("你\n好\n:)\n我比全天下所有人帅",font=("Times",10,"normal")) +pen.write("你\n好\n:]\n我比全天下所有人帅",font=("Times",10,"normal")) pen.hideturtle() pen1=turtle.Pen() pen1.hideturtle() pen1.left(45) -pen1.forward(100) -pen1.circle(50,180) +pen1.forward(2*len) +pen1.circle(len,180) pen1.right(90) -pen1.circle(50,180) -pen1.forward(100) +pen1.circle(len,180) +pen1.forward(2*len) turtle.done()