Commit 69314bb2 by BellCodeEditor

auto save

parent 603eea6f
Showing with 4 additions and 0 deletions
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.fillcolor("red")#设置填充颜色
pen.begin_fill() #开始填充
for i in range(5): for i in range(5):
pen.forward(300) pen.forward(300)
pen.left(144)#right pen.left(144)#right
#停止填充
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