-->

How to draw Netflix logo using code | codes se Netflix ka logo kaise banaye |

2 minute read
0

 How to draw Netflix logo using codes
Coding से Netflix का Logo कैसे बनाते हैं 

जानना चाहते हैं कि Python का उपयोग करके Netflix का Logo कैसे बनाया जाता है, तो आप सही जगह पर हैं। आज इस ट्यूटोरियल में मैं आपको दिखाऊंगा कि Code के साथ Python turtle का उपयोग करके Netflix का Logo कैसे बनाया जाता है, इसलिए इस ट्यूटोरियल को अंत तक फॉलो करें।


नेटफ्लिक्स वेब सीरीज और फिल्में देखने के लिए सबसे लोकप्रिय OTT प्लेटफॉर्म में से एक है, इसलिए आज मैंने Python का उपयोग करके Netflix का Logo बनाने पर एक ट्यूटोरियल बनाने का फैसला किया है।


हम Python turtle में Netflix का Logo बनाने के लिए turtle मॉड्यूल का उपयोग करेंगे। Turtle एक GUI Library है इस Library की मदद से आप Python turtle में कुछ भी आकर्षित कर सकते हैं।


Steps :

  • आपको play store या app store से pydroid 3 ॲप डाऊनलोड करणी पडेगि.
  • निचे दिये code ko copy करना हैं
  • Copy किया हुया code ॲप मे paste करना है
  • फिर start button पे क्लिक करना है 
  • फिर आपका code run होना चालू हो जाएगा..


Netflix logo code


HTML
<p>#Netflix logo with python

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() </p>


OUTPUT :



Post a Comment

0Comments
Post a Comment (0)