Instagram Logo Using Python Turtle

 from turtle import  *

speed(20)
def om(x,y):
    bgcolor("black")
    penup()
    goto(x,y)
    pendown()
def om1(x,y,f,c,c1,c2):
    color(c)
    om(x,y)
    begin_fill()
    for i in range(4):
        forward(f)
        circle(c1,c2)
    end_fill()
def om2(c,x,y,c1):
    color(c)
    begin_fill()
    om(x, y)
    circle(c1)
    end_fill()

om1(-150,-120,350,"#bc2a8d",20,90)
om1(-110,-70,260,"white",20,90)
om1(-90,-50,220,"#bc2a8d",20,90)
om2("white",20,10,70)
om2("#bc2a8d",20,30,50)
om2("white",110,160,15)

color("pink")
om(-120,-180)
write("@jpwebdevelopers",font=("Times new Roman",35,"bold"))
hideturtle()
done()

Post a Comment

0 Comments