Chapter 2: Problem 39
What command would you use to set the size of the turtle's graphics window to 500 pixels wide by 200 pixels high?
Short Answer
Expert verified
Answer: To set the size of the turtle's graphics window to 500 pixels wide and 200 pixels high, you need to first import the turtle library and then use the ._Screen declaration to create a new window object. You can set the window size with the specified dimensions using the .screensize() function, as shown in the following code snippet:
```
import turtle
myscreen = turtle.Screen()
myscreen.setup(width=500, height=200)
turtle.done()
```