Commit 385a72e3 by BellCodeEditor

auto save

parent a075876f
Showing with 10 additions and 0 deletions
import turtle
def tree(n):
if :
pen.forward(n)
pen.penup()
pen.backward(n)
pen.pendown()
pen = turtle.Turtle()
pen.color('sienna')
# 画布大小
......@@ -12,4 +19,7 @@ pen.up()
pen.backward(150) # 后退
pen.down()
tree(100)
pen.hideturtle()
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