Posts from Python

Python program to check if a network port is open

By Abinash Reddy

In this Python programming article, you are going to learn how to check if a particular port is open. We are using socket.socket() and socket.connect_ex() to check if a network por.... Read More

Convert Audio to Video using Static Images in Python

By Karan Trehan

In this tutorial, we will see how to convert an Audio File (MP3) to a Video File (MP4) using static images in Python. In other words, convert Audio to Video. We are going to follow.... Read More

Flipping the binary bits in Python

By Abinash Reddy

A binary value is a combination of 0’s and 1’s. For instance, the binary value of 12(decimal) is 1100(binary). After flipping the binary bits it looks like 0011. In thi.... Read More

Alphabet Rangoli Pattern in Python

By Abinash Reddy

In this tutorial, we will learn how to print the alphabet rangoli pattern when the size of the pattern is given. Alphabet Rangoli Pattern When the size of the pattern is given we n.... Read More

Polynomial Multiplication in Python

By Abinash Reddy

In this tutorial, we are going to learn how to multiply two polynomials in Python. Polynomial Multiplication Let’s consider two polynomials P, Q. Where P is 2+3x^1+4x^3 and Q.... Read More

Using Stacks to solve Desert Crossing Problem in Python

By Manan Kumar

In this tutorial, we are going to take a look at a Desert Crossing problem, how we can use stacks in order to solve that problem and simultaneously learn about stacks in Python.  .... Read More

Use Backtracking to find all Palindromic Bitlists of a given length in Python

By Manan Kumar

In this tutorial, we are going to take up the task of finding all the palindromic bitlists of a given length ‘n’ using the backtracking approach in Python. For this purpose, we.... Read More

Print each word of a sentence along with number of vowels in each word using Python

By Souhardya Ganguly

In this Python tutorial, you will learn how to separate each word from a sentence in Python and then calculate the number of vowels in each word. We shall be using certain string f.... Read More