Commit 302c0017 by BellCodeEditor

save project

parent e26c5b1e
Showing with 1 additions and 1 deletions
...@@ -9,7 +9,7 @@ pen.hideturtle() ...@@ -9,7 +9,7 @@ pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
len=screen.textinput("尺寸") len=screen.textinput("尺寸","1")
s=int(len) s=int(len)
pen1.left(45) pen1.left(45)
pen1.forward(2*s) pen1.forward(2*s)
......
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