Draw Middle Finger In Python
Published October 19, 2023 by Jarvis Silva
In this tutorial I will show you how to draw middle finger in python, showing a middle finger to someone is considered as bad gesture it is used by friends to tease one another and you can use this program to make fun of your friend.
To create this python program to draw middle finger we will use the turtle module, which allows us to create graphics so before moving forward to the code make sure you have turtle installed, to install use below command:
pip install turtle
After installing the module, open a code editor, create a new folder and inside that create a python file now let’s code in it.
Python code to draw middle finger
from turtle import * Screen().bgcolor('black') t= Turtle() t.pencolor('red') t.color("white", "white") t.left(90) t.forward (40) t.right(90) t.circle(40, 90) t.forward(80) t.circle(20, 180) t.right(180) t.circle(20, 180) t.right(180) t.forward(80) t.circle(20,180) t.forward(80) t.right(180) t.circle(20,180) t.forward(80) t.right(180) t.penup() t.forward(40) t.pendown() t.circle(20,180) t.left(50) t.forward(50) t.right(50) t.circle(40,90) t.right(90) t.forward(40) t.left(90) t.forward(80) done()
Above is the complete code for drawing a middle finger, if you take a look at the code you can see it is completely made using turtle functions, now if you run this program below is the output you will get.
As you can see we successfully drawn the middle finger using python, I hope you found this program not harmful as it is just for entertainment purpose, do share it with your friends. Thank you for reading, Have a nice day 😊
Free courses and programming resourcesJoin Telgram