
Introduction
Today, we will learn how to Draw Halloween in Python Turtle. Halloween is celebrated in western countries and is dedicated to ones who have died like saints, martyrs, etc. We will draw a pumpkin which is used in celebrating Halloween. Click here to know about Halloween.
Code to Draw Halloween in Python Turtle
# importing librariesfrom turtle import *import turtle# initalizing a variable for turtlet = turtle.Turtle()# creating turtle screenscreen = turtle.Screen()# setting up the screen size of canvasscreen.setup(900, 650)# changing the color of background to blackscreen.bgcolor('black')# defining speed of turtlet.speed(50)t.hideturtle()# deciding the color for circlet.fillcolor("#DC5F00")# start the filling colort.begin_fill()t.up()# radius of circler = 180t.goto(0, -240)t.circle(r)# end filling the colourt.end_fill()# drawing triangle for eyes# left eyet.up()t.setpos(-140, -45)t.fillcolor("gold")t.begin_fill()t.forward(100) # draw baset.left(120)t.forward(100) # draw second sidet.left(120)t.forward(100) # draw third sidet.end_fill()# right eyet.up()t.setpos(90, 40)t.fillcolor("gold")t.begin_fill()t.forward(100) # draw baset.left(120)t.forward(100) # draw second sidet.left(120)t.forward(100) # draw third sidet.end_fill()# drawing inverted triangle for noset.up()t.setpos(0, -110)t.fillcolor("gold")t.begin_fill()t.forward(40)t.right(120)t.forward(40)t.right(120)t.forward(40)t.end_fill()# drawing triangle for tooth of pumpkin# triangle 1t.up()t.setpos(-60, -120)t.fillcolor("gold")t.begin_fill()t.forward(50)t.right(120)t.forward(50)t.right(120)t.forward(50)t.end_fill()# triangle 2t.up()t.setpos(-60, -120)t.fillcolor("gold")t.begin_fill()t.forward(50) # draw baset.right(120)t.forward(50)t.right(120)t.forward(50)t.end_fill()# trinagle 3t.up()t.setpos(14, -163)t.fillcolor("gold")t.begin_fill()t.forward(50) # draw baset.right(120)t.forward(50)t.right(120)t.forward(50)t.end_fill()# trinagle 4t.up()t.setpos(90, -120)t.fillcolor("gold")t.begin_fill()t.forward(50) # draw baset.right(120)t.forward(50)t.right(120)t.forward(50)t.end_fill()# drawing green part of pumpkint.fillcolor("green")t.begin_fill()t.goto(-20, 110)# drawing first sidet.forward(40) # Forward turtle by 40 unitst.left(90) # Turn turtle by 90 degree# drawing second sidet.forward(60) # Forward turtle by 60 unitst.left(90) # Turn turtle by 90 degree# drawing third sidet.forward(40) # Forward turtle by 40 unitst.left(90) # Turn turtle by 90 degree# drawing fourth sidet.forward(60) # Forward turtle by 60 unitst.left(90) # Turn turtle by 90 degreet.end_fill()# writing happy halloween on canvast.goto(-250, -290)t.pencolor("red")t.write('Happy Halloween', font=("Courier", 40, "italic"))# holding the screen to displayscreen.mainloop()
Output:

Also Read:
- Radha Krishna using Python Turtle
- Drawing letter A using Python Turtle
- Wishing Happy New Year 2023 in Python Turtle
- Snake and Ladder Game in Python
- Draw Goku in Python Turtle
- Draw Mickey Mouse in Python Turtle
- Happy Diwali in Python Turtle
- Draw Halloween in Python Turtle
- Write Happy Halloween in Python Turtle
- Draw Happy Diwali in Python Turtle
- Extract Audio from Video using Python
- Drawing Application in Python Tkinter
- Draw Flag of USA using Python Turtle
- Draw Iron Man Face with Python Turtle: Tony Stark Face
- Draw TikTok Logo with Python Turtle
- Draw Instagram Logo using Python Turtle
- I Love You Text in ASCII Art
- Python Turtle Shapes- Square, Rectangle, Circle
- Python Turtle Commands and All Methods
- Happy Birthday Python Program In Turtle
- I Love You Program In Python Turtle
- Draw Python Logo in Python Turtle
- Space Invaders game using Python
- Draw Google Drive Logo Using Python
- Draw Instagram Reel Logo Using Python
- Draw The Spotify Logo in Python Turtle
- Draw The CRED Logo Using Python Turtle
- Draw Javascript Logo using Python Turtle
- Draw Dell Logo using Python Turtle
- Draw Spider web using Python Turtle