Python Program To Draw Deadpool Logo
In this tutorial I will show you the python program to draw deadpool logo with source code so follow this tutorial till the end. Deadpool is a marvel comic character, He is one of the most funniest and deadly superhero or villian.
Deadpool is one of my favourite superhero you should watch the deadpool movies you will love it so now let’s see how to draw deadpool in python programming.
Python Code To Draw Deadpool Logo
import turtle as tur tur.color('red') tur.penup() tur.goto(0, -200) tur.pendown() tur.begin_fill() tur.circle(200) tur.end_fill() def black_circle(): tur.begin_fill() tur.color('black') tur.circle(160, -160) tur.end_fill() def eye(a): tur.begin_fill() tur.goto(a * 40, 0) tur.color('white') tur.pendown() tur.goto(a * 140, 45) tur.goto(a * 120, 10) tur.goto(a * 40, 0) tur.end_fill() tur.penup() tur.goto(0, -160) tur.circle(160, -10) black_circle() tur.color('red') tur.goto(25, 160) tur.rt(20) black_circle() eye(1) eye(-1) tur.hideturtle() tur.done()
Above is the program to draw deadpool logo using python. You can run this program on your computer or use an online compiler to run it now.
As you can see in the code I have used the turtle library to draw the deadpool logo so you need to make sure it is installed in your system.
Mostly it comes installed with python but if you get any errors install the library by using the below command it is GUI library for python which allows us to draw graphics.
pip install turtle
Now you can run this program and you will see the deadpool logo be drawn on the screen below is the output which you will get.
So this was the tutorial on drawing deadpool logo in python. I hope you liked it do share it with your friends who might be intrested.
Here are some more drawing tutorials in python:
- Python program to draw avengers logo.
- Python program to draw ironman.
- Python program to draw captain america shield.
Want more tutorials and free udemy courses then do join our telegram channel for daily updates of our blog.
Thanks for reading, Have a nice day 🙂