print all prime numbers from 1 to 100 using a for loop

Write a Python program to print all prime numbers from 1 to 100 using a for loop. Use the break statement to optimize the code.
Total : 0 Discussion
Login