Commit 3e96ee1f by BellCodeEditor

auto save

parent 2c920d97
Showing with 15 additions and 3 deletions
import turtle
pen=turtle.Pen()
pen.write("你好,未来的我,相信你看到\n这封信时,已经是2034年\n了。我在此祝你万事如意、多多保重、\n如虎添翼!",font=("Times",14,"normal"))
pen.hideturtle()
# word_pen=turtle.Pen()
# word_pen.write("你好,未来的我,相信你看到\n这封信时,已经是2034年\n了。我在此祝你万事如意、多多保重、\n如虎添翼!",font=("Times",14,"normal"))
# word_pen.hideturtle()
# turtle.done()
heart_pen=turtle.Pen()
heart_pen.pensize(5)
heart_pen.pencolor("red")
heart_pen.left(45)
heart_pen.forward(100)
heart_pen.circle(50,180)
heart_pen.right(90)
heart_pen.circle(50,180)
heart_pen.forward(100)
heart_pen.hideturtle()
turtle.done()
\ No newline at end of file
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