绘制一条折线 10.3
Python
import turtle
pen.pendown() # 落笔,开始画线
pen.fd(100) # 画一条100像素的横线
pen.lt(90) # 左转90度
pen.fd(50) # 画一条50像素的竖线