from turtle import * # Create a turtle object & draw a square. t = Turtle() for i in range(4): t.forward(50) t.right(90) # Close the screen bye()In this example, a turtle object is created, and a square is drawn using the loop function. Once the square is drawn, the Screen bye method closes the screen. The package library used in the turtle package is tkinter. Turtle is built on top of the tkinter module, which provides a canvas on which to draw. Therefore, to use Turtle, you need to import the turtle package, which in turn imports tkinter.