Commit aef505e2 by BellCodeEditor

auto save

parent c2f1308f
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
huabu=turtle.Screen()
huabu.bgcolor("red")
pen = turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("亲爱的诺伊:\n好久不见,我和小贝在这边过得不错\n你怎么样?",font=("times",10,"normal"))
pen.hideturtle()
#画爱心
a=turtle.Pen()
len=60
a.pencolor("pink")
a.pensize(3)
a.left(45)
a.forward(len*2)
a.circle(len,180)
a.right(90)
a.circle(len,180)
a.forward(len*2)
a.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