In this tutorial, we will discuss python program to find factorial of a number. Before going to the program first, let us understand what is a Factorial Number. Factorial Number: The factorial of a non-negative...
In this tutorial, we will discuss a python program for checking Perfect Number or Not. Before going to the program first, let us understand what is a Perfect Number. Perfect Number: A perfect number is...
In this tutorial, we will discuss python program for checking if a number is Prime or not. Before going to the program first, let us understand what is a Prime Number. Prime Number A prime...
Before going to the program first let us understand what is a Binary Search? Binary Search: Binary search is a searching technique used to quickly search the element from the...
Before going to the program first let us understand what is a Linear Search? Linear search: Linear search is the simplest search algorithm. It is also called a sequential search. Linear...
Before going to the program first let us understand what is Selection Sort? Selection Sort: A Selection Sort is a Sorting algorithm that finds the smallest element in the array and swaps...
To write a program to find first N Prime Numbers in Python we should know how to find whether a Number is Prime Number or Not? To find whether a Number is Prime Number or...
Before going to the program for Prime Number or Not first let us understand what is a Prime Number? Prime Number: A Prime Number is a number greater...