Python 海龟绘图 100 题——第 20 题
综合应用,使用重复命令绘制五边形。
import turtle as t for i in range(0, 5): t.fd(100) t.rt(360/5)