单选题

下列哪段代码可以将画笔颜色设置为红色?( )

A.

turtle.pen('red')

B.

turtle.fillcolor('red')

C.

turtle.colormode('red')

D.

turtle.pencolor('red')

发表评论

请 登录 后再回复