Commit 7fc610b6 by BellCodeEditor

save project

parent 636b9fdc
Showing with 1 additions and 8 deletions
......@@ -3,14 +3,7 @@ import random
def tree(n):
if n>=0:
if n<=12:
color_list=['snow','lightcoral']
color=random.choice(color_list)
pen.color(color)
pen.pensize(n/3)
else:
pen.color('sienna')
pen.pensize(n/10)
pen.pensize(n/10)
pen.forward(n)
a=random.randint(0,30)
l=random.randint(1,15)
......
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