SHAPES

Today i have created shapes using python .

Here is the video about it:          

    
 
Description :

                      I have crated circle square and many other shapes. I have used loops to make every shape. When you watch the video you may have noticed that the turtle will be drawing the circle alone very slow. This happens because the circle, i have made consists of 1 move forward and 1 left turn. As, we all know 1 circle 360 degree. I used the same  method 1 move forward and 1 left turn. So that when repeated 360 times only we get a circle. Because of that making a circle by turtle was very slow. square was a little easy because, We can use the function goto. When we use the function goto the turtle goes to the set of position given. I have used the same method to create every shape except 1 circle. I have also used the function called fill color to fill the color of the shapes while done.       

 


                   

Comments