Commit 27782756 by BellCodeEditor

save project

parent 7e5cbcdd
Showing with 6 additions and 2 deletions
......@@ -12,7 +12,7 @@ def tree(n):
pen.backward(n)
pen.down()
tree(100)
pen = turtle.Turtle()
......@@ -22,6 +22,10 @@ w = turtle.Screen()
w.bgcolor('wheat') # wheat小麦
# 移动到起点
pen.left(90)
pen.up()
pen.backward(150)
pen.down()
tree(100)
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