Computer Science, asked by dhruvgidds, 10 months ago

give me the program to find prime numbers between 1 to 100 in python language

Answers

Answered by pradnya250604
2

Answer:

First, we used For Loop to iterate loop between 1 and 100 value. Within the for loop,

We used another For loop to check whether the number is divisible or not. If true, count will be incremented, and break statement will skip that number

Next, If statement is to check whether the count is zero, and given number is not equal to 1. If it is true, it will print the number because it is a prime Number

Explanation:

Answered by arshita429
0

2,3,5,7,9,11,13,17,19,23,29,31,41,43,53,61,67,71,73,83,87,91,97

Similar questions