Commit 413db4ba by BellCodeEditor

save project

parent b47cb75d
Showing with 2 additions and 2 deletions
......@@ -11,9 +11,9 @@ def tree(n):
pen.color('sienna')
pen.pensize(n / 10)
pen.forward(n)
angle = randomr.randint()
angle = random.random()
pen.right(30*angle)
length = 1.5*random.randint()
length = 1.5*random.random()
tree(n-10*length)
pen.left(60*angle)
tree(n-10*length)
......
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