Commit 2cec3757 by BellCodeEditor

save project

parent 72f082d5
Showing with 13 additions and 11 deletions
...@@ -11,17 +11,19 @@ pen.left(90) ...@@ -11,17 +11,19 @@ pen.left(90)
pen.up() pen.up()
pen.backward(150) # 后退 pen.backward(150) # 后退
pen.down() pen.down()
pen.speed(100)
pen.forward(n) def t(n):
pen.right(30) if n>=0:
t(n-50) pen.forward(n)
pen.left(60) pen.right(30)
t(n-50) t(n-10)
pen.right(30) pen.left(60)
pen.up() t(n-10)
pen.backward(100) pen.right(30)
pen.down() pen.up()
pen.backward(n)
pen.down()
t(60)
......
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