MCnima / prime_1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About
This prime detector is made based on the Algorithm.txt file that I added in prime_1 repository.
This is my first python project in University and I decided to share with you.

Using Guide
For using code you have to inter your number after main.py in terminal or console with space between like:
main.py <your number>  => main.py 13 => The output is 'Number is prime'
or like: main.py 10 => THe output is 'Number is NOT prime'

*Notice*
This code is NOT efficient to calculate big numbers.
I highly don't recommend using this to calculating big numbers Instead you can use is_prime function in Numpy package
that is more efficient.

I hope this will be helpful for you.
Have a great day

About


Languages

Language:Python 100.0%