Python Project #2-Prime Number method #2

Pubblicato il: 22 luglio 2018
sul canale di: 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...


In questa pagina del sito puoi guardare il video online Python Project #2-Prime Number method #2 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Projects 22 luglio 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 54 volte e gli è piaciuto 2 spettatori. Buona visione!