Commit a8849a4c by BellCodeEditor

save project

parent 517411ed
Showing with 0 additions and 2 deletions
import turtle
value = input('请输入珊瑚的长度,至少为大于100小于200的整十数:')
pen = turtle.Turtle()
pen.color('sienna') # sienna黄土色
# 画布大小
......@@ -23,7 +22,6 @@ def tree(n):
pen.up()
pen.backward(n)
pen.down()
tree(int(value))
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