Commit 6d0ec951 by BellCodeEditor

save project

parent a075876f
Showing with 13 additions and 1 deletions
...@@ -7,7 +7,19 @@ w = turtle.Screen() ...@@ -7,7 +7,19 @@ w = turtle.Screen()
w.bgcolor('wheat') # wheat小麦 w.bgcolor('wheat') # wheat小麦
# 移动到起点 # 移动到起点
pen.left(90) turtle.left(90)
turtle.color("red")
turtle.forward(100)
turtle.left(30)
turtle.forward(50)
turtle.right(180)
turtle.forward(50)
turtle.right(150)
turtle.right(90)
turtle.forward(50)
turtle.forward(-50)
turtle.left(-150)
turtle.forward(100)
pen.up() pen.up()
pen.backward(150) # 后退 pen.backward(150) # 后退
pen.down() pen.down()
......
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