Example HTML page

A Python program to find the GCD of two numbers.

Greatest Common Divisor (GCD) is also called as Highest Common Factor(HCF) . The GCD of two positive integers is the

A Python program to print initials/first letters in a string.

The following program prints the first letters of the string and returns those letters in uppercase. #Program Output P Y

A Python program to perform arithmetic operations on array

In this post i will show you how to perform arithmetic operations on array by using if-else and for loops

A Python program to demonstrate the working of mean, mode and median functions in Statistics.

Python provides a Statistics module which has useful functions like mean( ), mode( ) and median( ) and so on.

A Python program to find the highest and lowest elements in an array

We already know that an array is data structure where we can store the values of similar data type. In

A Python Program to check if a number is a Perfect number.

A perfect number: a number is perfect when the sum of its divisors (except the number itself) equals the given

Sum of Square Series

In this post I will show you how to write a Python program to calculate sum of series 1²+2²+3²+….+n². The

A Python program to display the powers of ‘3’ using anonymous functions/lambda functions.

In python Lambda/Anonymous functions are those functions which are declared without name. Those anonymous functions are defined by a keyword

A Python program to print all numbers in a range divisible by a given Number.

In this post i am going to depict how to print all the numbers in a given range divisible by