Commit a91b1ab2 by BellCodeEditor

save project

parent f84248db
Showing with 8 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# a=input("请问你要多大的爱心?")
len=60
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle
#pen.write("诺依,感谢你的信,\n你的信我收到了",font=("Times",20,"normal"))
pen.write("诺依,感谢你的信,\n你的信我收到了",font=("Times",20,"normal"))
pen.penup()
pen.goto(-150,100)
pen.goto(100,-100)
pen.down()
#turtle.done()
pen1=turtle.Pen()
pen1.hideturtle()
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(50,180)
pne1.forward(100)
pen1.forward(2*len)
turtle.done()
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