Javatpoint Logo
Javatpoint Logo

Python Program to Print all Prime Numbers between an Interval

We have already read the concept of prime numbers in the previous program. Here, we are going to print the prime numbers between given interval.

See this example:

This example will show the prime numbers between 10 and 50.

Output:

Python Condition And Loops6



Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA