Python turtle library provides all tools and methods for drawing any shape, picture or design with different commands. In this article, we will Draw Google logo with python turtle library. Before proceeding you must read the introduction to turtle programming.
import turtle
t = turtle.Turtle()
t.color('#4285F4', '#4285F4')
t.pensize(5)
t.speed(3)
t.forward(120)
t.right(90)
t.circle(-150, 50)
t.color('#0F9D58')
t.circle(-150, 100)
t.color('#F4B400')
t.circle(-150, 60)
t.color('#DB4437', '#DB4437')
t.begin_fill()
t.circle(-150, 100)
t.right(90)
t.forward(50)
t.right(90)
t.circle(100, 100)
t.right(90)
t.forward(50)
t.end_fill()
t.begin_fill()
t.color("#F4B400", "#F4B400")
t.right(180)
t.forward(50)
t.right(90)
t.circle(100, 60)
t.right(90)
t.forward(50)
t.right(90)
t.circle(-150, 60)
t.end_fill()
t.right(90)
t.forward(50)
t.right(90)
t.circle(100, 60)
t.color('#0F9D58', '#0F9D58')
t.begin_fill()
t.circle(100, 100)
t.right(90)
t.forward(50)
t.right(90)
t.circle(-150, 100)
t.right(90)
t.forward(50)
t.end_fill()
t.right(90)
t.circle(100, 100)
t.color('#4285F4', '#4285F4')
t.begin_fill()
t.circle(100, 25)
t.left(115)
t.forward(65)
t.right(90)
t.forward(42)
t.right(90)
t.forward(124)
t.right(90)
t.circle(-150, 50)
t.right(90)
t.forward(50)
t.end_fill()
t.penup()
turtle.done()