Commit a95c5eec by BellCodeEditor

save project

parent bae41ef6
Showing with 17 additions and 0 deletions
import turtle
def tree(n):
if n >= 0:
pen.forward(n)
pen.right(30)
tree(n-10)
pen.left(60)
tree(n-10)
c pen.up()
pen.backward(n)
pen.down()
pen=turtle.Turle()
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