Here is the Complete Code For the Google 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 :
import turtle
codingplex = turtle.Turtle()
turtle.bgcolor("black")
codingplex.color("#4285F4","#4285F4")
codingplex.pensize(1)
#codingplex.speed(10)
# [ google color codes ]
# red = #DB4437
# blue = #4285F4
# green = #0F9D58
# yellow = #F4B400
def google():
codingplex.forward(120)
codingplex.right(90)
codingplex.circle(-150,50)
codingplex.color("#0F9D58")
codingplex.circle(-150,100)
codingplex.color("#F4B400")
codingplex.circle(-150,60)
codingplex.color("#DB4437","#DB4437")
codingplex.begin_fill()
codingplex.circle(-150,100)
codingplex.right(90)
codingplex.forward(50)
codingplex.right(90)
codingplex.circle(100,100)
codingplex.right(90)
codingplex.forward(50)
codingplex.end_fill()
codingplex.begin_fill()
codingplex.color("#F4B400","#F4B400")
codingplex.right(180)
codingplex.forward(50)
codingplex.right(90)
codingplex.circle(100,60)
codingplex.right(90)
codingplex.forward(50)
codingplex.right(90)
codingplex.circle(-150,60)
codingplex.end_fill()
codingplex.right(90)
codingplex.forward(50)
codingplex.right(90)
codingplex.circle(100,60)
codingplex.color("#0F9D58","#0F9D58")
codingplex.begin_fill()
codingplex.circle(100,100)
codingplex.right(90)
codingplex.forward(50)
codingplex.right(90)
codingplex.circle(-150,100)
codingplex.right(90)
codingplex.forward(50)
codingplex.end_fill()
codingplex.right(90)
codingplex.circle(100,100)
codingplex.color("#4285F4","#4285F4")
codingplex.begin_fill()
codingplex.circle(100,25)
codingplex.left(115)
codingplex.forward(65)
codingplex.right(90)
codingplex.forward(42)
codingplex.right(90)
codingplex.forward(124)
codingplex.right(90)
codingplex.circle(-150,50)
codingplex.right(90)
codingplex.forward(50)
codingplex.end_fill()
google()
codingplex.hideturtle()
turtle.done()
#Downloaded From ---- https://codinginloop.blogspot.com/
0 Comments