import turtle turtle.fillcolor("red") turtle.begin_fill() count = 1 while count <= 5: turtle.forward(100) turtle.right(144) count += 1 turtle.end_fill()
五角星
原文:https://www.cnblogs.com/cjl1124/p/12462976.html