Commit e8bf35fd by BellCodeEditor

save project

parent 3d73fd16
Showing with 7 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen1 = turtle.Pen()
# screen=turtle.Screen()
# screen.bgcolor("light blue")
# len=screen.textinput("提示","你想要多大的爱心呀?")
# len=int(len)
len=60
# pen=turtle.Pen()
pen1.hideturtle()
# pen1=turtle.Pen()
......@@ -31,9 +31,9 @@ screen.bgcolor("yellow")
pen.pensize(5)
pen.pencolor("pink")
pen.left(45)
pen.forward(70)
pen.circle(35,180)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(35,180)
pen.forward(70)
pen.circle(len,180)
pen.forward(len*2)
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