Facebook Logo Using Python Turtle

Published: 18 September 2022
on channel: CODE__DECODE
480
11

hello friends wlcm to my channel

following python code to draw FACEBOOK

from turtle import *

speed(10)
color("BLUE")
Screen().bgcolor('black')

setup the coordinates
penup()
goto(0, 150)
pendown()

Draw the rectangle
begin_fill()
forward(150)
circle(-50, 90)
forward(300)
circle(-50, 90)
forward(300)
circle(-50, 90)
forward(300)
circle(-50, 90)
forward(150)
end_fill()

drawing the LETTER F
color("white")
penup()
goto(140, 80)
pendown()

begin_fill()
right(180)
forward(50)
circle(80, 90)
forward(50)
right(90)
forward(80)
left(90)
forward(40)
left(90)
forward(80)
right(90)
forward(160)
left(90)
forward(55)
left(90)
forward(160)
right(90)
forward(70)
left(80)
forward(45)
left(100)
forward(80)
right(90)
forward(40)
circle(-40, 90)
forward(40)
left(90)
forward(45)
end_fill()

hideturtle()
done()

INSTAGRAM :https://instagram.com/sad__god5?igshi...


Watch video Facebook Logo Using Python Turtle online, duration hours minute second in high quality that is uploaded to the channel CODE__DECODE 18 September 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 480 times and liked it 11 visitors.