Commit efc474ea by BellCodeEditor

save project

parent 93cf1207
Showing with 3 additions and 3 deletions
...@@ -17,12 +17,12 @@ def t(n): ...@@ -17,12 +17,12 @@ def t(n):
if n<10: if n<10:
c=random.choice(cl) c=random.choice(cl)
pen.color(c) pen.color(c)
pen.pensize(5) pen.pensize(4)
else: else:
pen.color('sienna') pen.color('sienna')
pen.pensize(3) pen.pensize(3)
a=random.randint(5,35) a=random.randint(5,35)
b=random.randint(3,10) b=random.randint(8,20)
pen.forward(n) pen.forward(n)
pen.right(a) pen.right(a)
t(n-b) t(n-b)
...@@ -32,5 +32,5 @@ def t(n): ...@@ -32,5 +32,5 @@ def t(n):
pen.up() pen.up()
pen.backward(n) pen.backward(n)
pen.down() pen.down()
t(50) t(80)
turtle.done() turtle.done()
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