Commit 7bbe7684 by BellCodeEditor

auto save

parent 52b1ed14
Showing with 30 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
# import turtle
# screen=turtle.Screen()
# screen.bgcolor("blue")
# pen=turtle.Pen()
# pen.penup()
# pen.goto(100,-100)
# pen.write("你好,你的信\n真的好丑啊!!\n我的信才好看",font=("times","20","normal"))
# pen.hideturtle()
import.turtle
screen=turtle.Screen()
pen=turtle.Pen()
lovesize=screen.textinput("提示","你想要画多大的爱心?")
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,360)
pen.circle(size,360,3)
turtle.done()
# len=int(lovesize)
# pen1=turtle.Pen()
# pen1.left(45)
# pen1.forward(len*2)
# pen1.circle(len,180)
# pen1.right(90)
# pen1.circle(len,180)
# pen1.forward(len*2)
# pen1.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