
Introduction
You’ve come to the right place if you want to learn how to draw the PUBG Logo Using Python Turtle. PUBG is one of the most popular games. It is a multiplayer online warfare game, thus I decided to do a lesson on making its logo in Python today.
Creating a PUBG Logo :
Step 1. Import turtle library
import turtleStep 2. Creating a turtle object. And set up the background color using bgcolor() Function
t = turtle.Turtle()
turtle.bgcolor("black")
t.color("white")
Step 3. Creating a Rectangle to fit the logo in it
def rect():
t.pensize(9)
t.forward(170)
t.left(45)
t.forward(6)
t.left(45)
t.forward(170)
t.left(45)
t.forward(6)
t.left(45)
t.forward(330)
t.left(45)
t.forward(6)
t.left(45)
t.forward(170)
t.left(45)
t.forward(6)
t.left(45)
t.forward(170)
We create a function called react() to create a rectangle shape.
Step 4. Creating a Function called four_corner_lines()
def four_corner_lines():
t.pensize(12)
t.penup()
t.forward(180)
t.left(90)
t.forward(35)
t.left(90)
t.pendown()
t.forward(12)
t.penup()
t.forward(344)
t.pendown()
t.forward(17)
t.penup()
t.right(90)
t.forward(105)
t.right(90)
t.pendown()
t.forward(17)
t.penup()
t.forward(344)
t.pendown()
t.forward(12)
This function will create 4 lines outside the rectangle. 2 on the left and 2 on the right.
Step 5. PUBG word in the rectangle. Starts with the P
def p():
t.penup()
t.left(180)
t.forward(280)
t.pendown()
t.forward(40)
t.left(90)
t.forward(100)
t.left(180)
t.forward(52)
t.right(90)
t.forward(40)
t.left(90)
t.forward(47)
Step 6. Drawing the letter U
def u():
t.penup()
t.right(90)
t.forward(32)
t.right(90)
t.pendown()
t.forward(98)
t.left(90)
t.forward(40)
t.left(90)
t.forward(98)
Step 7. Drawing the Letter B
def b():
t.penup()
t.right(90)
t.forward(35)
t.pendown()
t.forward(45)
t.right(90)
t.forward(43)
t.right(45)
t.forward(5)
t.right(45)
t.forward(40)
t.left(90)
t.forward(5)
t.left(90)
t.forward(40)
t.right(45)
t.forward(5)
t.right(45)
t.forward(40)
t.right(90)
t.forward(45)
t.right(90)
t.forward(96)
Step 8. Drawing the letter G
def g():
t.penup()
t.right(180)
t.forward(53)
t.left(90)
t.forward(98)
t.pendown()
t.forward(25)
t.right(90)
t.forward(45)
t.right(90)
t.forward(45)
t.right(90)
t.forward(95)
t.right(90)
t.forward(40)
Step 9. Now we are calling all the functions to complete the logo.
rect()
four_corner_lines()
p()
u()
b()
g()Source Code to Draw the PUBG Logo using Python Turtle
import turtle
t = turtle.Turtle()
turtle.bgcolor("black")
t.color("white")
def rect():
t.pensize(9)
t.forward(170)
t.left(45)
t.forward(6)
t.left(45)
t.forward(170)
t.left(45)
t.forward(6)
t.left(45)
t.forward(330)
t.left(45)
t.forward(6)
t.left(45)
t.forward(170)
t.left(45)
t.forward(6)
t.left(45)
t.forward(170)
def four_corner_lines():
t.pensize(12)
t.penup()
t.forward(180)
t.left(90)
t.forward(35)
t.left(90)
t.pendown()
t.forward(12)
t.penup()
t.forward(344)
t.pendown()
t.forward(17)
t.penup()
t.right(90)
t.forward(105)
t.right(90)
t.pendown()
t.forward(17)
t.penup()
t.forward(344)
t.pendown()
t.forward(12)
def p():
t.penup()
t.left(180)
t.forward(280)
t.pendown()
t.forward(40)
t.left(90)
t.forward(100)
t.left(180)
t.forward(52)
t.right(90)
t.forward(40)
t.left(90)
t.forward(47)
def u():
t.penup()
t.right(90)
t.forward(32)
t.right(90)
t.pendown()
t.forward(98)
t.left(90)
t.forward(40)
t.left(90)
t.forward(98)
def b():
t.penup()
t.right(90)
t.forward(35)
t.pendown()
t.forward(45)
t.right(90)
t.forward(43)
t.right(45)
t.forward(5)
t.right(45)
t.forward(40)
t.left(90)
t.forward(5)
t.left(90)
t.forward(40)
t.right(45)
t.forward(5)
t.right(45)
t.forward(40)
t.right(90)
t.forward(45)
t.right(90)
t.forward(96)
def g():
t.penup()
t.right(180)
t.forward(53)
t.left(90)
t.forward(98)
t.pendown()
t.forward(25)
t.right(90)
t.forward(45)
t.right(90)
t.forward(45)
t.right(90)
t.forward(95)
t.right(90)
t.forward(40)
rect()
four_corner_lines()
p()
u()
b()
g()
turtle.done()Output

As you can see, we were able to correctly draw the PUBG logo with Python Turtle. I hope you were successful in running this software. If you’re looking for more fantastic turtle lessons, check out this: Amazing Python Turtle Codes.
Also Read:
- You Can Now Run AI Fully Offline on Your Phone — Google’s Gemma 4 Just Changed Everything
- I Built a 24×7 AI Blogging System for WordPress Using Python (Free) — Full Code Inside
- This Reddit User “Hacked” AI With Simple Tricks… And The Results Are Insane
- One “rm -rf” Command Almost Wiped Out $100 Million Worth of Toy Story 2
- How to Make Money with ChatGPT in 2026: A Real Guide That Still Works
- PicoClaw vs OpenClaw: The Tiny AI That Could Replace Powerful AI Agents
- Oracle Layoffs 2026: People Woke Up to an Email… and Lost Their Jobs Instantly
- X’s New Video Update Is Breaking a Basic Feature — And Users Are Not Happy
- The Most Shocking Military Tech Yet: Robot Soldiers That Could Change Warfare Forever
- Sora Shutdown: The Reality Check That Shook AI Video — And What Comes Next
- Aya Expanse supports multiple languages for diverse global applications
- Alibaba releases Page Agent on GitHub for public access
- Google Sheets Gemini reaches new levels of performance and accuracy
- Artificial intelligence boosts cardiac care in rural Australian communities
- NVIDIA GTC 2026 Offers Insights into Future Artificial Intelligence Developments
- Google DeepMind Updates Satellite Embedding Dataset with 2025 Data
- Enhancing hierarchical instruction in advanced large language models
- Meta supports community development near its data centers through grants
- Exploring the world of underwater robotics through coding techniques
- ABB Robotics partners with NVIDIA for large scale physical AI solutions
- Why All AI Models Are Slowly Becoming the Same Model
- Aam Aadmi vs Corrupt System: How ChatGPT Helped One Guy Expose Govt Fraud, The Story: “Ravi and The Missing Light Pole”
- ChatGPT Asked a person to commit suicide to solve the problem
- Viral Moment: China’s AgiBot X2 Makes History With World’s First Webster Backflip
- Terminator Rising: Albania Hands Power to AI, Echoing a Nightmare of Human Extinction
- What Is Albania’s World-First AI-Generated Minister and How Does It Work?
- Does ChatGPT believe in God? ChatGPT’s Personal Opinion
- ChatGPT vs Human: The Breath-Holding Chat That Ends in “System Failure”
- What Is Vibe Coding? The Future of No-Code Programming and Its Impact on Software Developers
- Struggling to Generate Ghibli-Style AI Images? Here’s the Real Working Tool That Others Won’t Tell You About!



