Commit f40db4dd by BellCodeEditor

save project

parent 096450f2
Showing with 11 additions and 5 deletions
...@@ -7,9 +7,15 @@ w = turtle.Screen() ...@@ -7,9 +7,15 @@ w = turtle.Screen()
w.bgcolor('wheat') # wheat小麦 w.bgcolor('wheat') # wheat小麦
# 移动到起点 # 移动到起点
pen.left(90) turtle.left(90)
pen.up() turtle.forward(-150)
pen.backward(150) # 后退 turtle.forward(150)
pen.down() turtle.right(30)
turtle.forward(50)
turtle.up()
turtle.goto(0,0)
turtle.down()
turtle.left(60)
turtle.forward(50)
turtle.hideturtle()
turtle.done() 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