Commit d3a9a8fe by BellCodeEditor

save project

parent ab151578
Showing with 2 additions and 2 deletions
...@@ -11,7 +11,7 @@ pen.left(90) ...@@ -11,7 +11,7 @@ pen.left(90)
pen.up() pen.up()
pen.backward(150) # 后退 pen.backward(150) # 后退
pen.down() pen.down()
pen.speed(10)
def tree(n): def tree(n):
if n >=50: if n >=50:
pen.forward(n) pen.forward(n)
...@@ -25,7 +25,7 @@ def tree(n): ...@@ -25,7 +25,7 @@ def tree(n):
pen.down() pen.down()
tree(100) tree(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