Commit 8eceebc6 by BellCodeEditor

save project

parent d077f5ba
Showing with 13 additions and 4 deletions
......@@ -11,15 +11,24 @@ pen.left(90)
pen.up()
pen.backward(150) # 后退
pen.down()
#画树
pen.forward(100)
pen.left(30)
#画右树杈
pen.right(30)
pen.forward(50)
pen.up()
pen.backward(50)
pen.right(60)
pen.down()
#画左树杈
pen.left(60)
pen.forward(50)
pen.up()
pen.backward(50)
pen.left(30)
pen.down()
#树干返回
pen.right(30)
pen.up()
pen.backward(100)
pen.down()
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