Commit f49b8900 by BellCodeEditor

save project

parent ab2403d8
Showing with 2 additions and 2 deletions
......@@ -9,7 +9,7 @@ w.bgcolor('wheat')
pen.left(90)
pen.up()
pen.backward(150) # 后退
pen.down
def tree(n):
if n >= 0:
......@@ -28,7 +28,7 @@ def tree(n):
tree(n-10*length)
pen.left(60*angle)
tree(n-10*length)
tree.right(30*angle)
pen.right(30*angle)
pen.up()
pen.backward(n)
pen.down()
......
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