How to design Instagram Logo using python

Let’s move on to an awesome project on how to design Instagram Logo using python. Before getting into this we will have a python and turtle graphics library. In this case, I will use pycharm IDE

How to install pycharm in windowshttps://iterathon.tech//how-to-install-the-pycharm-in-windows/

Open New Projects

After opening a pycharm click on a new project and you can give it any name as a insta_logo. In this project.

Once you give it a name and click on the create. It takes few seconds to create the project, On the current project there are some existing files are found in ide so, delete all those files using Ctrl+A and Backspace. Now Python is ready to code before that we need one awesome python packages called turtle.

Turtle graphics

Turtle graphics is a popular way of introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzeig, Seymour Papert, and Cynthia Solomon in 1967.

After getting into the link. You have to some basics of a turtle. Install commentpip install turtle for windows, for mac python3 -m pip install turtle

Link to know about turtle graphicshttps://docs.python.org/3/library/turtle.html

Again go to the pycharm and click terminal then paste the magical word pip install turtle. It takes few seconds to install packages. Once the package gets installed, Go to your project insta_logo.

Code

This is an easy and crazy python project to design Insta logo. Let’s further move on to the python program.

#Instagram Logo

from turtle import *
import time
bgcolor('medium violet red')
pencolor('white')
width(23)
penup()
goto (160,-100)
pendown()
left (90)
end_fill()

for i in range(4):
    forward (250)
    circle(34,90)

penup()
goto (85,30)
pendown()
circle(80,360)
penup()
goto (110, 130)
pendown()
circle(7,360)
time.sleep(10)
instagram logo

Related Post

How to Create a Data Visualization in Python: https://iterathon.tech//how-to-create-a-data-visualization-in-python/

How to Impress a girl’s heart using python hearthttps://iterathon.tech//how-to-impress-a-girlfriend-heart-using-python/

Random Password Generator in Pythonhttps://iterathon.tech//random-password-generator-in-python/

Learn Something New ❣