The turtle module is a builtin module in python, meaning you do not have to install it. It is used to create basic 2D shapes and drawings and is extremely beginner friendly. The main advantages of turtle is that it is extremely simple and makes it very easy to draw things to the screen. That being said the turtle module does offer support for some more advanced functionality which I will be talking about in later tutorials.
To start using the turtle module we must first import it.
Now we have to create a turtle object that we can later move around and draw things to the screen.
Once we've created our turtle object we can set some default properties for it.
There are 4 basic commands that we will use to move the turtle around the screen.
This results in a square being drawn to the screen.
Another two methods that are very useful are:
We use these methods to left the turtle pen so when we move the turtle object no line will drawn on the screen.
Now we can see one side of the square is not drawn.
To change the speed of the turtle we can use .speed(int).