Google Chrome Logo with Python Using Turtle Module - Beginner's Python Project For Students

Here is the Complete Code For Google Chrome Logo with Python using Turtle Module - Beginner's Python Project For Students. ( Download Link of Code Given at the End )

 --- Click on Me to Go to Download Section ---




PYTHON CODE :

from turtle import * 

from time import sleep
colormode(255
red=(2346853); green=(017271); yellow=(2551860); 
blue=(66133244)
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(15
seth(60
color(blue) 
down() 
begin_fill()
circle(distance(0,0)) 
end_fill() 
ht() 

done()


#Downloaded From ---- https://coding-plex.blogspot.com/



Click on the Button Below To Download the Code


Post a Comment

1 Comments