Commit 4d6e5665 by BellCodeEditor

save project

parent d7e5b37e
Showing with 1 additions and 1 deletions
...@@ -17,7 +17,7 @@ pen.down() ...@@ -17,7 +17,7 @@ pen.down()
def tree(n): def tree(n):
if n >= 0: if n >= 0:
if n<=12: if n<=12:
color_list=["green","green"] color_list=["green","red"]
color=random.choice(color_list) color=random.choice(color_list)
pen.color(color) pen.color(color)
pen.pensize(n/3) pen.pensize(n/3)
......
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