Commit 62fe8dc6 by BellCodeEditor

save project

parent 99cbcd22
Showing with 6 additions and 0 deletions
......@@ -27,6 +27,12 @@ def tree(n):
pen.up()
pen.backward(n)
pen.down()
if length<=12:
turtle.pencolor='snow'
turtle.pensize=length/3
else:
turtle.pencolor='sienna'
turtle.pensize=length/10
tree(60)
......
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