题目:绘制下面的图形

python turtle 100-1
Python 海龟绘图 100 题——第 1 题

解析:

考察 turtle 基本命令,绘制直线,使用 forward,可缩写为 fd。

答案:

Python
import turtle as t
t.fd(100) # 或者使用 t.forward(100)