Description:A number which is having only 2 factor is called prime number.
step1:The program ask from user to enter number.
step2:the range to print the prime number present in the given.
for i in range(1,n+1):
n = int(input("Enter number : "))
prime = isPrime(n)
print(n," is Prime number")
print(n," is not Prime number")
Enter number : 5
5 is Prime number
Enter number : 6
6 is not Prime number