Commit 6c2cdb4f by BellCodeEditor

save project

parent c460a3f3
Showing with 2 additions and 1 deletions
import turtle
import random
pen = turtle.Turtle()
pen.color('sienna')
......@@ -17,7 +18,7 @@ def tree(n):
pen.fd(n)
pen.right(30)
tree(n-10)
pen.left()
pen.left(60)
tree(n-10)
pen.right(30)
pen.up()
......
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