Make WhatsApp Logo Using Python Turtle

Make WhatsApp Logo Using Python Turtle

Make WhatsApp Logo Using Python Turtle

from turtle import*
title("programming ka keeda")
setup(750,680)
speed(2)

def pose(x,y):
    penup()
    goto(x,y)
    pendown()

def background():
    pose(-250,-330)    
    pensize(20)
    color("#50ff29")
    begin_fill()
    for i in range(4):
        forward(500)
        circle(80,90)
    end_fill()    

def mid_circle():
    pensize(25)    
    pose(-150,-230)
    pencolor("#ffffff")
    left(-35)
    circle(280,335)
    right(45)
    forward(100)
    left(115)
    forward(100)

def phone():
    pose(-20,80)    
    pensize(10)
    color("#ffffff")
    begin_fill()
    left(105)
    forward(80)
    left(15)
    circle(50,60)
    left(20)
    circle(100,60)
    left(-10)
    circle(220,100)
    left(-10)
    circle(100,60)
    left(5)
    circle(50,60)
    left(45)
    forward(90)
    left(70)
    forward(60)
    right(60)
    circle(-150,80)
    right(60)
    forward(75)
    end_fill()

background()    
mid_circle()
phone()

hideturtle()
done()
Humari website me aane ke liye apka bahut-bahut dhanyaawad!😊

एक टिप्पणी भेजें

0 टिप्पणियाँ
* Please Don't Spam Here. All the Comments are Reviewed by Admin.