Commit 52778bd5 by BellCodeEditor

save project

parent decfc440
Showing with 1 additions and 1 deletions
...@@ -2,8 +2,8 @@ import turtle ...@@ -2,8 +2,8 @@ import turtle
import random import random
def tree(n): def tree(n):
if n >=0: if n >=0:
pen.forward(n)
pen.pensize(n/10) pen.pensize(n/10)
pen.forward(n)
apple=random.randint(0,30) apple=random.randint(0,30)
banana=random.randint(0,15) banana=random.randint(0,15)
pen.right(apple) pen.right(apple)
......
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