What is turtle in python?
![](https://pythonpoint.net/wp-content/uploads/2020/11/Yellow-Fishing-Boat-Blog-Banner-6-1024x576.jpg)
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.
![](https://pythonpoint.net/wp-content/uploads/2020/11/Screenshot-915-1024x419.png)
From the function getscreen() we will get a screen in which everything will be drawn.
![](https://pythonpoint.net/wp-content/uploads/2020/11/Screenshot-916.png)
Now we’ll see an example how to draw a circle.
![](https://pythonpoint.net/wp-content/uploads/2020/11/Screenshot-917-1024x526.png)
![](https://pythonpoint.net/wp-content/uploads/2020/11/Screenshot-918-1.png)
There are many functions like forward(), backward(), right(), left(), etc. to draw the desired shape.
Subscribe
Login
Please login to comment
0 Discussion