CHECK WHETHER AN ENTERED NUMBER IS PRIME NUMBER OR NOT
NOTE π
-------------
if any i satisfies condition n%i==0 means i is the factor of n
then increment count value
no of factors=count
if count==2 ie n is prime number
if n is said to be prime number the factors of n must be only [1,n].
otherwise n is not prime number
*THANK YOU *
Download
0 formats
No download links available.
prime number (basic )program in python in telugu explanation | NatokHD