Creating Windows and Apple logo in python turtle

preview_player
Показать описание
This video is presented by @ThinkFifteen.

We are trying to provide you great information about technology in computer field.
So to learn different computer languages and to watch such amazing videos subscribe this channel.

Thanks every one!

Python Turtle Code for Windows logo:

from turtle import *

speed(2)

bgcolor("black")

penup()

goto(-50,60)

pendown()

color("#00adef")

begin_fill()

goto(100,100)

goto(100,-100)

goto(-50,-60)

goto(-50,60)

end_fill()

color("black")

goto(15,100)

color("black")

width(10)

goto(15,-100)

penup()

goto(100,0)

pendown()

goto(-100,0)

done()

Python Turtle Code for Apple Logo:

from turtle import *

hideturtle()

speed(7)

bgcolor('white')

color('black')

fillcolor('black')

begin_fill()

width(7)

left(160)

circle(100, 100)

circle (200, 60)

circle(40, 90)

circle(-40, 100)

circle(40, 100)

circle (200, 30)

left (90)

circle(-70, 150)

left(120)

circle(160, 55)

right (110)

up()

forward (25)

down ()

circle(-100, 90)

right(90)

circle(-100, 90)
end_fill()

done()

Timeline

00:00 Intro
00:15 Window logo Creation
01:31 Apple logo Creation
03:10 Outro
Рекомендации по теме
join shbcf.ru