## Python program to check if a string is palindrome or not

Problem Definition Make a Python program to check if the given string is palindrome or not. A string is a palindrome if it reads same from forward as well as … Read more

Problem Definition Make a Python program to check if the given string is palindrome or not. A string is a palindrome if it reads same from forward as well as … Read more

Problem Definition Make a Python program to check wheater the given number is Even or Odd. Solution If a number is exactly divisible by 2 then it is an even … Read more

Problem Definition Make a Python function for generating a Fibonacci sequence. The Fibonacci sequence is a series where the next term is the sum of the previous two terms. The … Read more

Problem Definition Make a Python Function which takes an array or list as input and returns the sum of its elements, for example array[ 1, 2, 3, 4] will return … Read more

A sequence is called to Arithmetic series when the difference between two consecutive numbers remains constant throughout the series. If we express the first term as a and the difference … Read more

Matrices are a multidimensional array of order m*n where m is the number of rows and n number of columns. Matrices are handy to store data. A matrix can be … Read more

Any sequence of integers consisting of strictly decreasing values followed by strictly increasing values such that the decreasing and increasing sequence have a minimum length of 2 and the last value … Read more

Any number which can be expressed as the product of two whole equal numbers is classified as a perfect square. For example, 64 can be written as 8*8 hence 64 … Read more

A prime number is a positive whole number greater than 1 which is evenly divisible only by 1 and itself. 2, 3, 5, 7, 11, 13 are the first few prime … Read more