Question: Write an if statement that uses the turtle graphics library to determine whether the turtles pen size is greater than 1 or the pen color

Write an if statement that uses the turtle graphics library to determine whether the turtle’s pen size is greater than 1 or the pen color is red. If so, set the pen size to 1 and the pen color to blue.

Step by Step Solution

3.34 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import turtle Get the turtles current pen size and color pensize turtlepensize pencolor turtlepencol... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Starting Out With Python Questions!