Theturtlemodule in Python allows you to create images and shapes by drawing on a canvas.

Turtles are often used to introduce beginners to basic programming concepts related to graphics.

you’re able to draw many kinds of shapes using turtles, including lines and other patterns.

real-turtle-walking-on-sand

What Are Turtles in Python?

The turtle then draws a line in the direction it is moving in.

it’s possible for you to draw different shapes by making the turtle move a certain way.

Turtle moving in different directions

Creating graphics in a JES applicationis another way to draw shapes on a canvas, using a Python-based language.

The direction the turtle moves in is relative to its current position.

Continue practicing by using turtles to create actual shapes, such as squares, triangles, or rectangles.

Python turtle default location

you’re free to also explore other Python modules to make the most out of Python.

Python turtle moving right

Python turtle moving left

Python turtle moving up

Python turtle moving down

Turtle moving in different directions