Python 海龟绘图 100 题——第 31 题
循环绘制多直线。
import turtle as t for i in range(0,6): t.fd(50) t.lt(90) t.fd(120) t.bk(120) t.rt(90)