Commit 1590296c by BellCodeEditor

save project

parent 0dcb6b8a
Showing with 6 additions and 0 deletions
......@@ -14,6 +14,12 @@ pen.down()
def tree(n):
if n>=0:
if n<=12:
color=random.choice(["snow","lightcoale"])
pen.color((color))
pen.pensize(n/3)
else:
pen.color("sienna")
pen.pensize(n/10)
pen.forward(n)
angle=random.randint(0,30)
......
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