Python 3 Script to Find Prime Numbers From 1 to 100 Using For loop Full Project For Beginners

You are currently viewing Python 3 Script to Find Prime Numbers From 1 to 100 Using For loop Full Project For Beginners

 

Welcome folks today in this post we will be finding prime numbers from 1 to 100 using for loop in python. All the full source code of application will be given below.

 

 

Get Started

 

 

In order to get started you need to make an app.py file and copy paste the following code to it

 

app.py

 

 

 

 

Now if you execute the above python script app.py by typing the below command

 

python app.py

 

 

As you can see with the help of for loop we have printed all the prime numbers between 1 and 100

Leave a Reply