Commit cbfdd729 by BellCodeEditor

save project

parent 8df8ec38
Showing with 10 additions and 7 deletions
......@@ -8,12 +8,15 @@ pen.penup()
pen.goto(-100,100)
pen.pencolor("red")
pen.pendown()
len=screen.textinput("title","请输入爱心大小:")
len=screen.textinput("title","请输入六边形大小:")
len=int(len)
pen.left(45)
pen.forward(2*len)
pen.circle(50,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
#pen.left(45)
#pen.forward(2*len)
#pen.circle(50,180)
#pen.right(90)
#pen.circle(len,180)
#pen.forward(2*len)
for i in range(6):
pen.forward(len)
pen.right(60)
turtle.done()
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