Commit 0d09a2e0 by BellCodeEditor

save project

parent 138b3878
Showing with 2 additions and 0 deletions
...@@ -4,6 +4,8 @@ import turtle ...@@ -4,6 +4,8 @@ import turtle
p=turtle.Pen() p=turtle.Pen()
#设置填充颜色 #设置填充颜色
p.fillcolor("red") p.fillcolor("red")
#设置画笔颜色
p.color("red")
#开始填充 #开始填充
p.begin_fill() p.begin_fill()
#画五角星 #画五角星
......
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