![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
给出如下代码importturtledefdrawLine(draw):turtle.pendown()ifdrawelseturtle.penup()turtl
给出如下代码
importturtle
defdrawLine(draw):
turtle.pendown()ifdrawelseturtle.penup()
turtle.fd(50)
turtle.right(90)
drawLine(True)
drawLine(0)
drawLine(True)
drawLine(True)
turtle.left(90)
drawLine(0)
drawLine(True)
drawLine(True)
以下选项中描述错误的是()
A.运行代码,在PythonTurtleGraphic中,绘制一个数码管数字2
B.代码drawLine(True)中True替换为0,运行代码结果不变
C.代码drawLine(True)中True替换为-1,运行代码结果不变
D.代码defdrawLine(draw)中的draw可取值0、1、-1等
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)