Posts by Souhardya Ganguly

Author Biographical Info: Not available

Check if a given word contains consecutive letters in Python using Functions

By Souhardya Ganguly

In this Python tutorial, we shall check whether a given word contains a sequence of two consecutive letters or not using ASCII values. What do we mean? If a given word has a substr.... Read More

Checking for Smith Number in Python using Functions

By Souhardya Ganguly

In this Python tutorial, we will learn about Smith Numbers and how to generate them in Python. What are Smith Numbers? Smith numbers have the following features:- They are composit.... Read More

Generating first ten numbers of Pell series in Python

By Souhardya Ganguly

In this tutorial, you will learn about Pell SeriesĀ and how to generate them in Python. Let’s get started! What are Pell series? Pell Series is a series where subsequent numb.... Read More

Taking a number and rearranging its digits in ascending order to form a new number in Python

By Souhardya Ganguly

In this Python tutorial, we will learn how to take a number and rearrange its digits in ascending order to form a new number. We shall be sorting the number using the sort() functi.... Read More

Accept a sentence and print only the first letter of each word in capital letters separated by a full stop using functions in Python

By Souhardya Ganguly

In this Python tutorial, you will learn how to accept a sentence and print only the first letter of each word of the sentence in capital letters separated by a full stop. We will i.... Read More

Python Program to convert a word into Pig Latin form using Functions

By Souhardya Ganguly

In this Python tutorial, we will learn how to convert a sentence into its Pig Latin form. To do so, we shall be using:- Functions split() function in Python Substrings in Python Co.... 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

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