(Turtle: draw four squares) Write a program that draws four squares in the center of the screen, as shown in Figure 1.18a.
FIGURE 1.18 Four squares are drawn in (a)
import turtle turtle.showturtle() turtle.forward(50) turtle.right(90) turtle.forward(50) turtle.right(90) turtle.forward(100) turtle.right(90) turtle.forward(100) turtle.right(90) turtle.forward(100) turtle.right(90) turtle.forward(50) turtle.right(90) turtle.forward(100) turtle.penup() turtle.goto(0,50) turtle.pendown() turtle.left(90) turtle.forward(100)