Commit 351219ca by BellCodeEditor

save project

parent 5bbccaed
Showing with 11 additions and 17 deletions
import turtle
import random
def tree(n) def tree(n)
if n >= 50: if n >= 50:
...@@ -25,5 +13,12 @@ def tree(n) ...@@ -25,5 +13,12 @@ def tree(n)
pen.backward(n) pen.backward(n)
pen.down() pen.down()
tree(100) pen = tuple.Turtle()
turtle.done() pen.color('sienna')
\ No newline at end of file
w = turtle.Screen()
w.bgcolor('wheat')
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