单选题

turtle绘图中设置画笔宽度5像素、绘制的线条颜色为red的命令是?(         )

A.
turtle.size(5) 
turtle.pencolor("red")


B.
turtle.size(5) 
turtle.color("red")


C.
turtle.pensize(5)
turtle.pencolor("red")


D.
turtle.penwidth(5) 
turtle.color("red")


发表评论

登录 后再回复