Commit 20482e6b by BellCodeEditor

auto save

parent 49bb4f94
Showing with 6 additions and 5 deletions
...@@ -6,14 +6,15 @@ pen.speed(0) ...@@ -6,14 +6,15 @@ pen.speed(0)
pen.pencolor('red') pen.pencolor('red')
pen.fillcolor('red') pen.fillcolor('red')
pen.begin_fill() pen.begin_fill()
len=screen.textinput("提示框","请输入数字:")
lovelen = int(len)
pen.pensize(5) pen.pensize(5)
len=240
pen.left(45) pen.left(45)
pen.forward(len) pen.forward(lovelen)
pen.circle(len/2,180) pen.circle(lovelen/2,180)
pen.right(90) pen.right(90)
pen.circle(len/2,180) pen.circle(lovelen/2,180)
pen.forward(len) pen.forward(lovelen)
pen.up() pen.up()
pen.goto(100,-100) pen.goto(100,-100)
pen.pencolor('black') pen.pencolor('black')
......
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