Python 打印五角星 如图: 代码: from turtle import * begin_fill() while 1: forward(300) right(144) if abs(pos()) < 1: break end_fill() 注: 可在while 1:前使用 fillcolor("***") 随意改变填充颜色。