Commit c3685a73 by BellCodeEditor

save project

parent aec585ab
Showing with 4 additions and 4 deletions
......@@ -30,10 +30,10 @@ def tree(n):
angle=random.randint(0,30)
lenght=random.randint(1,15)
pen.right(angle)
tree(n-10)
pen.left(60)
tree(n-10)
pen.right(30)
tree(n-lenght)
pen.left(2*angle)
tree(n-lenght)
pen.right(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