Commit c83d284e by BellCodeEditor

save project

parent d79d939c
Showing with 11 additions and 5 deletions
......@@ -14,13 +14,19 @@ down()
def tree(n):
if n>=0:
if n <=12
l_list = ['snow','lightcoral']
c = random.choice(l_list)
color(color)
fd(n)
q = random.rand(0,30)
rt()
tree(n-10)
q = random.randint(0,30)
w = random.randint(0,15)
rt(q)
tree(n-w)
lt(60)
tree(n-10)
right(30)
tree(n-w)
right(2*q)
up()
bk(n)
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