Commit dd6aaa26 by BellCodeEditor

save project

parent 550c5d59
Showing with 4 additions and 3 deletions
......@@ -7,7 +7,8 @@ pen.penup()
pen.goto(100,-100)
pen.write("Hi,诺伊\n我会用python写字了",font=("times",30,"normal"))
pen.hideturtle()
len=60
lovesize=screen.textinput("提示","你要多大的爱心?")
len=int(lovesize)
pen1=turtle.Pen()
pen1.pensize(5)
pen1.pencolor("red")
......@@ -17,4 +18,4 @@ pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(len*2)
curtle.done()
\ No newline at end of file
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