Netflix Logo using Python Turtle Programming | Simple Python Project | Vast Coding
Here is the Source Code:-
import turtle
t = turtle.Turtle()
t.speed(10)
turtle.bgcolor("white")
t.color("white")
t.up()
t.goto(-80,50)
t.down()
t.fillcolor("black")
t.begin_fill()
t.forward(200)
t.setheading(270)
s = 360
for i in range(9):
s = s - 10
t.setheading(s)
t.forward(10)
t.forward(180)
s = 270
for i in range(9):
s = s - 10
t.setheading(s)
t.forward(10)
t.forward(200)
s = 180
for i in range(9):
s = s - 10
t.setheading(s)
t.forward(10)
t.forward(180)
s = 90
for i in range(9):
s = s - 10
t.setheading(s)
t.forward(10)
t.forward(30)
t.end_fill()
t.up()
t.color("black")
t.setheading(270)
t.forward(240)
t.setheading(0)
t.down()
t.color("red")
t.fillcolor("#E50914")
t.begin_fill()
t.forward(30)
t.setheading(90)
t.forward(180)
t.setheading(180)
t.forward(30)
t.setheading(270)
t.forward(180)
t.end_fill()
t.setheading(0)
t.up()
t.forward(75)
t.down()
t.color("red")
t.fillcolor("#E50914")
t.begin_fill()
t.forward(30)
t.setheading(90)
t.forward(180)
t.setheading(180)
t.forward(30)
t.setheading(270)
t.forward(180)
t.end_fill()
t.color("red")
t.fillcolor("red")
t.begin_fill()
t.setheading(113)
t.forward(195)
t.setheading(0)
t.forward(31)
t.setheading(293)
t.forward(196)
t.end_fill()
t.hideturtle()
turtle.done()
Output:-
Output |
Note:- Please help me to grow my Channel Called "Vast Coding"
Error bta rha hai
ReplyDeleteWhat is the error?
DeleteError on line 4 bgcolour??
DeleteUse t.bgcolor("white")
DeleteI need your whatsApp group chat please
DeleteError: no display name and no $DISPLAY environment variable
ReplyDeleteWhich software are you using to run this code?
DeleteIt's working.
ReplyDeleteOutput is not same as u had given
ReplyDeleteBro your team is amazing 💪💪
ReplyDeleteWhat software to run this code?
ReplyDeletevscode
DeletePlease suggest me the software for python turtle graphics
ReplyDeleteline 3 error
ReplyDeleteand attribute error