Python Turtle Graphics Code - Create Youtube Logo, YTstudio Logo, and YTmusic Logo

Hello Friends, agar aap janna chahte hain ki Python Turtle Graphics Code ka use karke Youtube logo, YTstudio logo, aur YTmusic logo kaise banate hain, to aap sahi jagah par aye hai.
Python Turtle Graphics Code - Create Youtube Logo, YTstudio Logo, and YTmusic Logo

Python Turtle Graphics Code - Create Youtube Logo, YTstudio Logo, and YTmusic Logo

Youtube sabse lokapriy video platform me se ek hai, aap youtube se kuch bhi pa sakte hain aur sikh sakte hain, isliye aaj maine Python Turtle Graphics Code ka use karke iska logo banane par ek tutorial banane ka nirnay liya hai aur youtube logo ke sat-sat me apko ishi article me ye bhi bataunga k yt studio logo and yt music logo kaise banate hai.

Hum is program ko python me banane ke liye turtle module ka use karenge, turtle ek GUI library hai is library ki madad se aap python me kuch bhi bana sakte hain.

Create Youtube Logo Using Python Turtle:-

import turtle
t = turtle.Turtle()
turtle.title("NIIN KM")
t.fillcolor("red")
t.begin_fill()
t.penup()
t.goto(-150,-150)  
t.pendown()

for i in [300, 200]*2:
   t.forward(i)
   t.circle(30,90)
t.end_fill()  
t.penup()
t.goto(-30,-70)
t.pendown()
t.fillcolor("white")
t.begin_fill()

for i in [30, 120, 120]:
   t.left(i)
   t.forward(100)
t.end_fill()  
t.hideturtle()

turtle.done()

Output:-

Python Turtle Graphics Code - Create Youtube Logo

Create YTstudio Logo Using Python Turtle:-

import turtle as t
n = t.Turtle()
t.title("NIIN KM")

n.penup()
n.goto(0, -120)
n.pendown()

n.begin_fill()
n.fillcolor("red")
n.left(30)
n.forward(150)

n.left(60)
n.forward(150)
n.left(60)
n.forward(150)
n.left(60)
n.forward(150)
n.left(60)
n.forward(150)
n.left(60)
n.forward(150)
n.end_fill()

n.penup()
n.left(120)
n.forward(50)
n.pendown()

n.pensize(4)
n.color("white")

n.right(60)
n.forward(100)

n.left(60)
n.forward(100)
n.left(60)
n.forward(100)
n.left(60)
n.forward(100)
n.left(60)
n.forward(100)
n.left(60)
n.forward(100)

n.penup()
n.goto(-40,-30)
n.pendown()

n.pensize(1)
n.color("white")
n.begin_fill()
n.fillcolor("white")
n.left(120)
n.forward(120)

n.right(120)
n.forward(120)

n.right(120)
n.forward(120)
n.end_fill()

n.hideturtle()
t.done()

Output:-

Python Turtle Graphics Code - Create YTstudio Logo

Create YTmusic Logo using Python Turtle:-

from turtle import *
title("NIIN KM")
bgcolor("black")

penup()
right(90)
forward(200)
pendown()

begin_fill()
color("red")
left(90)
circle(200)
end_fill()

penup()
left(90)
forward(100)
pendown()

pensize(9)
color("white")
right(90)
circle(100)

penup()
goto(-40, -50)
left(90)
pendown()

pensize(2)
begin_fill()
color("white")
forward(100)
right(120)
forward(100)
right(120)
forward(100)
end_fill()

hideturtle()
done()

Output:-

Python Turtle Graphics Code - Create YTmusic Logo

Mujhe aasha hai ki aap is tutorial se jo khoj rahe the vah aapko mil gaya hai, aur yadi aap is tarah ke aur adhik python guides aur tutorial chahte hain, to ap muje Instagram @nitinkumarmahuley me follow kar sakte hai.
Humara article, padhane ke liye apka dhanyawad, Have a nice day.

एक टिप्पणी भेजें

0 टिप्पणियाँ
* Please Don't Spam Here. All the Comments are Reviewed by Admin.