用python简单图形实现 三角形 from turtle import * # 画笔颜色 pencolor('red') # 背景颜色 fillcolor('yellow') begin_fill() # 循环三次,画出三角形 for i in range(3)