import turtle turtle.forward(100) turtle.right(90) turtle.forward(100) turtle.right(90) turtle.forward(100) turtle.right(90) turtle.forward(100) turtle.right(90) turtle.done()
import turtle turtle.circle(50) turtle.done()This code utilizes Turtle to draw a circle on the canvas. We do this by calling the `turtle.circle` method with a radius argument of 50, which tells Turtle to draw a circle with a radius of 50 pixels. In conclusion, the Python library used here is the turtle graphics library. The Turtle package is part of this library and is used to create the turtle object that moves around the canvas, allowing us to draw shapes and lines.