
Introduction
Hello Folks, Welcome to violet-cat-415996.hostingersite.com. In this tutorial, we’ll look at creating a CRED Logo Using Python Turtle. This will be a very short but fascinating article, especially for newbies, because we have commented on every line of code so that even a beginner can understand the concept.
To create a CRED logo, we divided the program into five sections to make it easier to grasp.
Explanation of Code!
Step 1. Importing Libraries
import turtleWe will use the turtle module, which you must import, to create a Turtle() Function. Turtle is an in-built Python module that allows users to manipulate a pen to draw on the screen.
Step 2. Set the background Color for Canvas
turtle.Screen().bgcolor("black")Here we use Screen() and Bgcolor() Function to set the background color.
Step 3. Creating an object of the turtle
t=turtle.Turtle()Step 4. Creating Outer Layer of CRED logo
t.goto(-166,100)
#goto(): This method is used to move the turtle to an absolute position.
t.width(5)
#width(): Set the pen size.
t.color("white")
#color(): Set the pen color.
t.forward(256)
#forward(): Move the turtle forward by the specified distance, in the direction the turtle is headed.
t.right(90)
#right(): Turn turtle right by angle units.
t.forward(220)
t.right(60)
t.forward(150)
t.right(60)
t.forward(150)
t.right(60)
t.forward(220)
To Create A Pentagon First we go to the location(-166,100). Set the pen size to 5 and the pen color to white. After that, we use the forward() and Right() Function To draw each line of a pentagon.
Step 5. Creating the Inner Lines(part 1)
t.penup()
#penup(): Pull the pen up – no drawing when moving.
t.goto(-86,50)
t.pendown()
#pendown(): Pull the pen down – drawing when moving.
t.right(90)
t.forward(136)
t.right(90)
t.forward(60)
t.color("black")
t.forward(40)
t.color("white")
t.forward(40)
t.right(60)
t.forward(104)
t.right(60)
t.forward(104)
t.right(60)
t.forward(106)
t.right(90)
t.forward(130)
Creating Inner liner we respectively use forward and right functions to draw lines.
Step 6. Creating the Inner Lines(part 1)
t.penup()
t.goto(10,-75)
t.pendown()
t.right(150)
t.forward(57)
t.right(60)
t.forward(57)
t.right(60)
t.forward(30)
t.penup()
t.goto(-163,-300)
t.pendown()
In this section, we will draw the inner three lines to complete the CRED logo.
Step 7. Adding Name!
t.write("CRED",font=("Sentic",65,"normal"))
turtle.done()Source Code to draw CRED Logo using Python Turtle:
import turtle
turtle.Screen().bgcolor("black")
t=turtle.Turtle()
t.goto(-166,100)
t.width(5)
t.color("white")
t.forward(256)
t.right(90)
t.forward(220)
t.right(60)
t.forward(150)
t.right(60)
t.forward(150)
t.right(60)
t.forward(220)
t.penup()
t.goto(-86,50)
t.pendown()
t.right(90)
t.forward(136)
t.right(90)
t.forward(60)
t.color("black")
t.forward(40)
t.color("white")
t.forward(40)
t.right(60)
t.forward(104)
t.right(60)
t.forward(104)
t.right(60)
t.forward(106)
t.right(90)
t.forward(130)
t.penup()
t.goto(10,-75)
t.pendown()
t.right(150)
t.forward(57)
t.right(60)
t.forward(57)
t.right(60)
t.forward(30)
t.penup()
t.goto(-163,-300)
t.pendown()
t.write("CRED",font=("Sentic",65,"normal"))
turtle.done()Output:

Thank you for reading our post. Please leave us a comment on how you found it. Please visit violet-cat-415996.hostingersite.com for additional turtle lessons.
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!


