My Channel

How to draw shapes in python using Turtle 🐢🐢 🐢

 How to draw shapes using Turtle in Python 🐢 🐢 🐢?




Hey Guys,

    In this video, we will be seeing on how to make different shapes in python using a Module called Turtle. I know you would start to think about the slow pacing animal but not that. This is a Module that is used to draw shapes, and many things using coding and paint or paintbrush.

So, let's get started...


Note - Python has Turtle installed or included.

We will first go ahead with basic shapes and then more complex ones in the future. Be sure to read until the end for a good one.

How to draw Square using Turtle - 

To draw a Square, use the code below: -

import turtle
window = turtle.Screen()
window.bgcolor("black")
pen = turtle.Turtle()

#Square:
pen.pensize(30)
pen.color("white")
for i in range(4):
pen.forward(150)
pen. Right(90)
turtle.done()


Be sure to read - https://blogsbymichel.blogspot.com/2022/02/5-projects-to-create-in-python-5-python.html


How to draw Triangle using Turtle - 

To draw a Square, use the code below: -

import turtle
window = turtle.Screen()
window.bgcolor("black")
pen = turtle.Turtle()

#Triangle:
window = turtle.Screen()
window.bgcolor("black")
pen = turtle.Turtle()
pen.pensize(30)
pen.color("white")
turtle.forward(100)
turtle.right(120)
turtle.forward(100)
turtle.right(120)
turtle.forward(100)
turtle.right(120)


Please Visit - https://youtube.com/@rustyinfos


To draw the Google TV Logo:-

Now, as for the final one which I already told you to wait. It is the tutorial to create the Google Tv logo.

To draw a Square, use the code below: -

#Google Tv:
import turtle
window = turtle.Screen()
window.bgcolor("black")
pen = turtle.Turtle()
pen.pensize(30)
pen.color("blue")
pen.forward(200)
pen.right(90)
pen.color("red")
pen.forward(100)
pen.right(90)
pen.color("yellow")
pen.forward(200)
pen.right(90)
pen.color("green")
pen.forward(100)
pen.right(90)


I hope you liked todays post and be sure to Comment and view other posts

Be sure to share this post with your friends and family

By the Blog Author.

Post a Comment

0 Comments