Commit 277edda7 by BellCodeEditor

save project

parent 8e078458
Showing with 26 additions and 1 deletions
......@@ -29,7 +29,7 @@ for i in range(5):
Pen.left(144)
turtle.done()
'''
import turtle
Pen = turtle.Pen()
Pen.fillcolor("blue")
......@@ -39,6 +39,31 @@ for i in range(5):
Pen.left(144)
Pen.end_fill()
turtle.done()
'''
#设置太阳花
import turtle
Pen = turtle.Pen()
#画笔的速度
Pen.speed(500)
#画笔的颜色
Pen.color("blue")
#画笔填充颜色
Pen.fillcolor("red")
#填充开始
Pen.begin_fill()
#画笔的移动
for i in range(36):
Pen.forward(200)
Pen.left(170)
#填充结束
Pen.end_fill()
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