Finding prime numbers from n to m in python


Prime Numbers from n to m in Python

In [1]:
Enter the value of n: 1
Enter the value of m: 100
Available Prime Numbers between  1  and  100 are: 
2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 

No comments:

Post a Comment