Commit 5c519ae3 by BellCodeEditor

auto save

parent a50ceeec
Showing with 34 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor('pink')
len=screen.textinput('输入框','输入爱心的大小')
print(type(int(len)))
# pen.color('yellow')
# pen.fillcolor('red')
# pen.begin_fill()
# pen.left(45)
# pen.fd(2*len)
# pen.circle(len,180)
# pen.right(90)
# pen.circle(len,180)
# pen.fd(2*len)
# pen.end_fill()
# pen.penup()
# pen.goto(100,-100)
# pen.pendown()
# pen.write('浙江省湖州市\n吴兴区八里店社区',font=('Times',20,'normal'))
pen.hideturtle()
turtle.done()
\ No newline at end of file
++ "b/1.\346\234\213\345\217\213\343\200\201"
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