Commit 6b666414 by BellCodeEditor

save project

parent 654bc3ba
Showing with 28 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("我爱你\n去你的\nooooooooooooooooooo" ,font=("Times",20,"normal"))
pen.hideturtle()
#画爱心
penl=turtle.Pen()
penl.pencolor("pink")
penl.fillcolor("green")
penl.begin_fill()
penl.pensize(10)
penl.left(45)
penl.forward(100)
penl.circle(50,180)
penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.end_fill()
screen=turtle.Screen()
screen.bgcolor("light pink")
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