Google Logo Using Python | Turtle Module | Programming Ka Keeda

Google Logo Using Python | Turtle Module | Programming Ka Keeda

Google Logo Using Python | Turtle Module | Programming Ka Keeda 

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

#royal blue
penup()
goto(50,0)
pendown()

color("royal blue")
begin_fill()
forward(250)
right(90)
circle(-300,50)
right(90)
forward(100)
right(90)
circle(200,25)
left(115)
forward(134)
right(90)
forward(86)
end_fill()

#green
penup()
goto(-240,-180)
pendown()

color("green")
begin_fill()
left(-143)
circle(300,94)
left(92)
forward(100)
right(-85)
circle(-200,94)
left(100)
forward(108)
end_fill()

#orange
color("orange")
begin_fill()
right(97)
circle(-300,50)
right(99)
forward(100)
left(-73)
circle(200,41)
end_fill()

right(180)
circle(-200,41)

#red
color("red")
begin_fill()
circle(-200,130)
left(90)
forward(100)
left(90.5)
circle(300,124)
end_fill()

hideturtle()
done()
Humari Programming Ka Keeda website me aane ke liye apka bahut-bahut dhanyawaad!😊

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

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