Commit cdd0ecc3 by BellCodeEditor

save project

parent b628ea16
Showing with 9 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~
i=
pen.hideturtle()
import turtle
#pen=turtle.Pen()
#pen.write("hi,诺依~\n用python写电子贺卡真是太有趣了~\n我也喜欢python~\n-悟空ltaiyoqul",font=("Times",18,"normal"))
#pen.hideturtle()
pen=turtle.Pen()
len=60
pen.penup()
pen.goto(100,100)
......@@ -8,9 +11,9 @@ pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.circle(50,180)
pen.forward(100)
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