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

Email Automation in Python

By Karan Trehan

In this tutorial, we are going to see how to apply Email Automation using Python. Nowadays, whenever we sign-up for an account on a website, we tend to receive an automated email, .... Read More

Natural summation pattern in Python

By Shoif Md Mia

In this tutorial, we will learn how to print the natural summation pattern in Python. We will take natural number as input and the program will print the summation pattern. This is.... Read More

Checking for Magic Numbers using Functions in Python

By Souhardya Ganguly

In this Python tutorial, we shall see how to check whether a number is a Magic Number or not. We shall use functions in Python for the same. What is a Magic Number? If we iterate t.... Read More

Linear Regression from scratch in Python

By Yashwanth Guguloth

In this tutorial, we will implement a linear regression algorithm from scratch in Python without using any inbuilt libraries. We know that in linear regression we find the relation.... Read More

C++ program to Check if all leaves are at same level

By Shoif Md Mia

A node of a tree is called leaf when it’s both the children are NULL. Now, in a given binary tree, we have to check whether all the leaves are at the same level. In this tree.... Read More

Introduction to regular expressions and a sample problem in Python

By HIMANSHU ZAVERI

This post will prove to be useful for those who wish to learn and kickstart with the Regular Expressions (REs or Regex) in Python Programming Language. In simple words, Regular Ex.... Read More