1.

The function used to alter the thickness of the pen to ‘x’ units:(a) turtle.width(x)(b) turtle.span(x)(c) turtle.girth(x)(d) turtle.thickness(x)This question was addressed to me in an online quiz.The question is from Turtle Module topic in section Mapping Functions and Modules of Python

Answer»

Right CHOICE is (a) turtle.width(X)

EXPLANATION: The function turtle.width(x) is used to alter the thickness of the pen to ‘x’ UNITS. The function turtle.span(x), turtle.girth(x) and turtle.thickness(x) are invalid.



Discussion

No Comment Found

Related InterviewSolutions