Commit 72a14077 by BellCodeEditor

auto save

parent 39476826
Showing with 2 additions and 2 deletions
......@@ -19,7 +19,7 @@ a.speed(0)
# ikun
# ikun
def tree(x):
if x>=50:
if x>=5:
a.forward(x)
a.right(30)
tree(x-5)
......@@ -29,6 +29,6 @@ def tree(x):
a.penup()
a.forward(-x)
a.pendown()
tree(100)
tree(75)
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