Category Archives: Python Programming

Python Linear Search

Here you will get program for linear search in python. Linear search is one of the simplest searching algorithm in which targeted item in sequentially matched with each item in a list. It is worst searching algorithm with worst case time complexity O (n). Below is its implementation. Image Source Program for Python Linear Search… Read More »

Python Program to Check Palindrome Number

Here you will get python program to check palindrome number. A number is said to be palindrome if it is equal to its reverse. For example 121, 555, etc are palindrome while 124, 367, etc are not. Python Program to Check Palindrome Number

Output enter a number: 12321 number is palindrome Comment below if… Read More »

Python Program to Check Armstrong Number

Here you will get python program to check armstrong number. A number is said to be an armstrong number if sum of its digits raised to the power n is equal to itself. Here n is total digits in number. For example 370 is armstrong number. Here n = 3, so 33 + 73 + 03 = 27… Read More »

Python Program to Print Fibonacci Series

Here you will get python program to print fibonacci series using for loop. A series in which next term is obtained by adding previous two terms is called fibonacci series. For example 0, 1, 1, 2, 3, 5, 8 . . . . Python Program to Print Fibonacci Series

Output enter number of digits… Read More »

Python Program to Check Prime Number

Here you will get python program to check prime number. A number is called prime number if it is only divisible by 1 or itself. For example 2, 3, 5, 7, 11, etc are prime numbers. Below program takes a number as input and checks it is prime number or not. Python Program to Check… Read More »