Python Turtle Graphics Drawing - LG Logo
Source code:
from turtle import *
setup(500,500)
shape('turtle')
up()
fd(200)
down()
lt(90)
color('#C4084F')
begin_fill()
circle(200)
end_fill()
up()
color('white')
lt(75.1)
fd(248.4)
down()
rt(75.3)
begin_fill()
circle(24.1)
end_fill()
up()
rt(52.9)
fd(40)
down()
begin_fill()
rt(36.9)
fd(16)
rt(90)
fd(160)
lt(90)
fd(39)
rt(90)
fd(15)
rt(90)
fd(55)
rt(90)
fd(175)
end_fill()
up()
rt(145)
fd(97.7)
down()
begin_fill()
lt(55)
fd(119)
rt(87.3)
circle(-167.1,275.4)
rt(87.3)
fd(15)
rt(93.2)
circle(151.6,269.9)
lt(93.3)
fd(103)
rt(90)
fd(16)
end_fill()
hideturtle()
done()
No comments:
Post a Comment