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
**FIRST METHOD IS SHOWN HERE**
The time taken to execute the code is "7.625 seconds"
The code snippet can be found in the GitHub repository.
https://github.com/avinash90000/Prime...
For better run time watch the next video.
Link for next video:
• Python Project #2-Prime Number method #2
Subscribe for more content...
In questa pagina del sito puoi guardare il video online Python Project #2-Prime number method #1 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 64 volte e gli è piaciuto 4 spettatori. Buona visione!