Commit 76e011fd by BellCodeEditor

save project

parent ae7ca612
Showing with 5 additions and 4 deletions
......@@ -5,15 +5,17 @@
import turtle
#创建画笔
pen = turtle.Pen()
pen.fillcolor("blue")
pen.begin_fill()
#画笔移动、旋转
for i in range(0,5):
#画笔的移动
pen.forward(200)
#旋转角度
pen.right(144)
pen.end_fill()
#锁定画布
turtle.done()
fillcolor("blue")
begin_fill()
end_fill()
\ No newline at end of file
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