Commit 71d97270 by BellCodeEditor

auto save

parent 654bc3ba
Showing with 20 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write("你好呀,诺依!\n好久不见了",font=("Times",20,"normal"))
pen1.hideturtle()
#画爱心
pen2=turtle.Pen()
pen2.hideturtle()
pen2.pensize(8)
pen2.pencolor("red")
pen2.left(45)
pen2.forward(100)
pen2.circle(50,180)
pen2.right(90)
pen2.circle(50,180)
pen2.forward(100)
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