Commit 2fa84115 by BellCodeEditor

save project

parent 0dfc1866
Showing with 4 additions and 4 deletions
......@@ -18,14 +18,14 @@ a.down()
# ikun
def tree(x):
if x>=50:
a.forward(n)
a.forward(x)
a.right(30)
tree(n-10)
tree(x-10)
a.left(60)
tree(n-10)
tree(x-10)
a.right(30)
a.penup()
a.forward(n)
a.forward(x)
a.pendown()
tree(300)
......
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