There are many ways you can code Python programs, and many of these include the Python Turtle module. An easy way to get started is the web-based coding environment Trinket.io.
Steps:
Sign in to the Trinket.io website if you want to save your work. Google and other account services are available.
Click New Trinket and select Python from the list of coding languages. (don't choose Python 3 or you will need a paid account to save it)
Now it's time to code!
First you must import the turtle module.
Then you can tell the turtle what to do. Notice it is turning to the right by default.
Now let's make a square, and change the color of the turtle, and fill the square.
In Logo we typically use a repeat block to make a square more efficiently. How can we do that in Python?
We use "for i in range"
Notice that indenting is very important in Python. The commands you want to repeat must be indented under the "for" statement.
Python turtle has arc as well. Use the circle command and add arguments for the radius and angle.
turtle.circle(<radius>,<angle>)
Next to the play button, click ? Modules
Scroll down to the turtle module
You will see all of the available commands to use.
If you google "Python turtle" you will find many good tutorials, here is a good one.