#how to #draw logo of #google in #python||Python helper|| #learnpython & #coding 👨‍💻 #google #shorts

preview_player
Показать описание
Hey guys,
Hope you all are well. So,in this video you are going to know about how can you draw Google's logo just with few lines of codes.
So basically any drawing or design is made with the help of turtle module in python.
It provides all the tools to do it.
If you are interested in python just like the video and subscribe our channel and also share it to others.
-------------------------------------------------------------------------
And here is the source code of this:

from turtle import *
bgcolor('black')
speed(10)

pencolor('#4285F4')
forward(150)
right(90)
circle(-250,80)
pencolor('#0F9D58')
circle(-250,80)
pencolor('#F4B400')
circle(-250,55)
pencolor('#DB4437')

begin_fill()
circle(-250,90)
right(90)
forward(70)
right(90)
circle(180,90)
right(90)
forward(70)
fillcolor('#DB4437')
end_fill()

pencolor('#F4B400')
backward(70)
begin_fill()
left(90)
circle(180,55)
right(90)
forward(70)
right(90)
circle(-250,55)
fillcolor('#F4B400')
end_fill()
right(90)
forward(70)
right(90)
circle(180,55)

begin_fill()
pencolor('#0F9D58')
circle(180,80)
right(90)
forward(70)
right(90)
circle(-250,80)
fillcolor('#0F9D58')
end_fill()
right(90)
forward(70)
right(90)
circle(180,80)

pencolor('#4285F4')
begin_fill()
circle(180,55)
left(115)
forward(150)
right(90)
forward(76)
right(90)
forward(236)
right(90)
circle(-250,80)
fillcolor('#4285F4')
end_fill()

hideturtle()
done()
-------------------------------------------------------------------------
Also look at these products & grab them now 👇👇

-------------------------------------------------------------------------
Connect with us on

Instagram 👇

We upload most of the important concept on instagram so if you are interested in python than must follow us on instagram and subscribe our YouTube channel and turn on notification 🔔.

@Tiggered Insaan , @Google
#python #whatispython #progrmminglanguage #progrmming #coding #coder #learncoding #code #shorts #google #googleproducts #logodesiging #turtle
Рекомендации по теме
join shbcf.ru