Commit 39476826 by BellCodeEditor

save project

parent abd33ded
Showing with 4 additions and 2 deletions
...@@ -12,6 +12,8 @@ a.up() ...@@ -12,6 +12,8 @@ a.up()
a.backward(150) # 后退 a.backward(150) # 后退
a.down() a.down()
a.speed(0)
# ikun # ikun
# ikun # ikun
...@@ -20,9 +22,9 @@ def tree(x): ...@@ -20,9 +22,9 @@ def tree(x):
if x>=50: if x>=50:
a.forward(x) a.forward(x)
a.right(30) a.right(30)
tree(x-10) tree(x-5)
a.left(60) a.left(60)
tree(x-10) tree(x-5)
a.right(30) a.right(30)
a.penup() a.penup()
a.forward(-x) a.forward(-x)
......
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