What is turtle in python?

Turtle is similar to drawing board by which we can easily give the command to draw anything using python commands.
It can easily imported in python.
import turtle
Here we’ll see how we can use it.

From the function getscreen() we will get a screen in which everything will be drawn.

Now we’ll see an example how to draw a circle.


There are many functions like forward(), backward(), right(), left(), etc. to draw the desired shape.
Subscribe
Login
Please login to comment
0 Discussion