Python Project #2-Prime Number method #2

Опубликовано: 30 Июль 2026
на канале: Python Projects
54
2

Hello friends...
Today's program:
WAP to find whether the given
number is prime or not???

This can be done in three ways:
1. Loop from 1 to n
2. Loop from 1 to n/2
3. Loop from 1 to square root of n

**THE 2ND METHOD IS PROVIDED HERE**

The time taken to execute the code is "3.79 seconds"

The code snippet can be found in the GitHub repository.
https://github.com/avinash90000/Prime...

For best run time watch the next video.
Link:    • Python Projects #2- Fastest method for Pri...  

Subscribe for more content...