Commit b449f13f by BellCodeEditor

save project

parent fca19401
Showing with 11 additions and 11 deletions
...@@ -8,15 +8,15 @@ pen=turtle.Pen() ...@@ -8,15 +8,15 @@ pen=turtle.Pen()
pen.write("hi\n诺依\n用python写电子贺卡真是太好啦\n我也喜欢python\n————悟空",font=("Times",10,"normal")) pen.write("hi\n诺依\n用python写电子贺卡真是太好啦\n我也喜欢python\n————悟空",font=("Times",10,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
pen.penup() 1pen.penup()
pen.goto(100,100) 1pen.goto(100,-100)
pen.pendown() 1pen.pendown()
pen.pensize(8) 1pen.pensize(13)
pen.pencolor("red") 1pen.pencolor("red")
pen.left(45) 1pen.left(45)
pen.forward(2*len) 1pen.forward(2*len)
pen.circle(len,180) 1pen.circle(len,180)
pen.right(90) 1pen.right(90)
pen.circle(len,180) 1pen.circle(len,180)
pen.forward(2*len) 1pen.forward(2*len)
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