Python program to check if the input number is prime or not

 

Sample Input
Enter a number 25
Sample Output
25 is not a prime number
5 is a factor of 25

Sample Input
Enter a number 13
Sample Output
13 is a prime number

You may also like...