Commit 0ecbc9f5 by BellCodeEditor

save project

parent 0217dd0d
Showing with 13 additions and 3 deletions
# 利用write()帮助悟空给诺依回信 # 利用write()帮助悟空给诺依回信
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好呀诺依,好久不见",font=("Times",20,"normal")) #pen.write("你好呀诺依,好久不见",font=("Times",20,"normal"))
#pen.hideturtle()
#turtle.done()
#画 heart
pen.pencolor("cyan")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done
\ No newline at end of file \ 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