Commit 6f9536bd by BellCodeEditor

save project

parent 60dd9ec2
Showing with 1 additions and 1 deletions
...@@ -14,7 +14,7 @@ pen.up() ...@@ -14,7 +14,7 @@ pen.up()
pen.backward(150) # 后退 pen.backward(150) # 后退
pen.down() pen.down()
def tree(n): def tree(n):
if n<=0: if n>=0:
pen.speed(0) pen.speed(0)
pen.forward(n) pen.forward(n)
pen.right(30) pen.right(30)
......
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