Commit 8a81cf02 by BellCodeEditor

save project

parent bae41ef6
Showing with 25 additions and 0 deletions
from turtle import *
color("sienna")
bgcolor("wheat")
left(90)
up()
backward(150)
down()
def tree(n):
if n>=50:
forward(n)
right(30)
tree(n-10)
left(60)
tree(n-10)
right(30)
up()
backward(n)
down()
tree(100)
done()
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