Facebook Logo using Turtle in Python
Facebook logo using Turtle in Python
Input (Code) :-
import turtle as f
f.speed(10)
f.color("#0270d6")
f.bgcolor('black')
f.penup()
f.goto(0, 150)
f.pendown()
f.begin_fill()
f.forward(150)
f.circle(-50, 90)
f.forward(300)
f.circle(-50, 90)
f.forward(300)
f.circle(-50, 90)
f.forward(300)
f.circle(-50, 90)
f.forward(150)
f.end_fill()
f.color("white")
f.penup()
f.goto(140, 80)
f.pendown()
f.begin_fill()
f.right(180)
f.forward(50)
f.circle(80, 90)
f.forward(50)
f.right(90)
f.forward(80)
f.left(90)
f.forward(40)
f.left(90)
f.forward(80)
f.right(90)
f.forward(160)
f.left(90)
f.forward(55)
f.left(90)
f.forward(160)
f.right(90)
f.forward(70)
f.left(80)
f.forward(45)
f.left(100)
f.forward(80)
f.right(90)
f.forward(40)
f.circle(-40, 90)
f.forward(40)
f.left(90)
f.forward(45)
f.end_fill()
f.hideturtle()
f.done()
Output :-
Watch this Short for result :- https://youtube.com/shorts/Sd9M6c2SbwI?feature=share
Comments