Codes for drawing Chrome logo in Python

 Python codes


Welcoming you all in the blog of coding with dz Shivansh Sharma .......

So today we are going to make once again  python program.......


In today's Python program we are going to create a Chrome logo.....




Using turtles graphics...............

Small Introduction of python..........
With some small Question and answers.........

Question 1 :-

What is  python ?

Answer

Python is a coding program used to create a communication between US and computer in a normal language this is the definition of python .......

........................................... FOLLOW OUR BLOG
AFTER FOLLOWING FOLLOW THE FOLLOWING STEPS.........
Click on the three lines that are shown on the home page of our blog in top left.....

Then click on follow button and show your love to Coding.......
............
If you love coding .....
If you love computer programmes....
If you love our codes.......
If you love our blog..
................................
Then only to show to love among all these thing and your love to us click on the follow button ......
Show your love ❣️❣️❣️❣️ among us....
..........
DZ CoDerZ se personally contact karna chahte ho .....
Then...
Aap follow bhi kr sakte h ......
Dz coderz ko.....

..........
Let's go to the python program.....
Codes starts here.....
.................................

from turtle import *
speed(-99)
from time import sleep
colormode(255)
red=(223, 35, 35); green=(75, 183, 75); yellow=(252, 216, 9);
blue=(86, 146, 195)
r=120
seth(-150)
up()
#-------------RED -------------
color(red)
begin_fill()
fd(r)
down()
right(90)
circle(-r, 120)
fd(r*3**.5)
left(120)
circle(2*r, 120)
left(60)
fd(r*3**.5)
end_fill()

#-------------Green -------------

left(180)
color(green)
begin_fill()
fd(r*3**.5)
left(120)
circle(2*r, 120)
left(60)
fd(r*3**.5)
left(180)
circle(-r, 120)
end_fill()

#-------------Yellow -------------

left(180)
circle(r,120)
color(yellow)
begin_fill()
circle(r, 120)
right(180)
fd(r*3**.5)
right(60)
circle(-2*r, 120)
right(120)
fd(r*3**.5)
end_fill()

#-------------Blue Circle-------------

up()
left(98)
fd(r/20)
seth(60)
color(blue)
down()
begin_fill()
circle(distance(0,0))
end_fill()
penup()
right(180)
forward(250)
right(90)
color("black")
write("Made By Shivansh Sharma", font=( 

      "Arial", 7, "bold")) 
ht()

done()


...............................................................................
Codes are now end......
..........   .    . . . . .   ...   .   .     .   .    .   
..........        ..........       ...... ........ ...         ..........


Show your love ....
Aagr aap aapna piyar nahi dikhayenge to hme kaise pta chalenga ki aap log hamare saath h.
............
Aaagar aap h hamare saath to chinta ki koi nahi h baat ......



Thnx.. for ur love❣️❣️❣️🤗🤗🤗🌹🌹🌹

Comments

Popular posts from this blog

Codes for making middle finger in python

Codes for drawing free fire logo in python

Looping in Python #part 1