Commit e7244fa4 by BellCodeEditor

save project

parent 0ec0d4ce
Showing with 17 additions and 4 deletions
import turtle
pen=turtle.Pen()
pen.write("你好呀\n你好呀\n你好呀\n你好呀",font=("Times",20,"normal"))
pen.hideturtle()
#贺卡
# pen=turtle.Pen()
# pen.write("你好呀\n你好呀\n你好呀\n你好呀",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
#画爱心
penl=turtle.Pen()
penl.pencolor("red")
penl.pensize(5)
penl.left(45)
penl.forward(100)
penl.circle(50,180)
penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.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