Python 海龟绘图 100 题——第 24 题
考察循环命令,绘制平行四边形。
import turtle as t for i in range(0,10): t.pd() t.fd(5) t.pu() t.fd(5)