Commit de5ab8fe by BellCodeEditor

save project

parent 646c7b52
Showing with 5 additions and 1 deletions
#导入库
import turtle import turtle
#创建画笔
p= turtle . Pen () p= turtle . Pen ()
#选择填充的颜色
p.fillcolor("red") p.fillcolor("red")
#开始填充
p.begin_fill() p.begin_fill()
#五角星 #五角星
for i in range(5): for i in range(5):
p.forward(200) p.forward(200)
p.right(144) p.right(144)
#结束填充
p.end_fill() p.end_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