Commit 81ddea69 by BellCodeEditor

save project

parent 7c43ff3a
Showing with 7 additions and 0 deletions
...@@ -2,7 +2,14 @@ import turtle ...@@ -2,7 +2,14 @@ import turtle
Pen = turtle.Pen() Pen = turtle.Pen()
Pen.shape("turtle") Pen.shape("turtle")
Pen.fillcolor("red") Pen.fillcolor("red")
Pen.color("red")
Pen.begin_fill() Pen.begin_fill()
#抬起画笔
Pen.penup()
#固定画笔位置
Pen.setpos(-200,300)
#落笔
Pen.pendown()
#for循环 #for循环
for i in range(5): for i in range(5):
Pen.forward(200) Pen.forward(200)
......
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