Python program to implement Linear Search Algorithm

Hello everyone, welcome back to programminginpython.com! Here I am going to explain to you how to implement linear search algorithm in python. This linear search is a basic search algorithm which searches all the elements …

Python program to print Fibonacci sequence

Hello everyone, welcome to programminginpython.com. Here I am going to discuss a python program which prints the Fibonacci sequence of a given number. Fibonacci sequence is calculated by summing up all the numbers below that …

Python program to find the largest and smallest number in a list

Hello everybody, this is a Python program which finds out the smallest and largest number in the list. Here we use 2 predefined functions min() and max() which check for the smallest and largest number in a list …

Python program to find reverse of a number

Hello everyone, welcome back! Here we will learn a simple python logic to reverse a number. Here we read a number from the user and reverse that number using some arithmetic operations like mod (%) …