[go: nahoru, domu]

Skip to content

BDR-Pro/PrimeShor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimeShor to find factors of a number

factorize return a tuple of two prime factors rasie an execption of error or the number is a prime

isPrime return true if it is a prime false if it not

>>> import prime
>>> 
>>> print(prime.isPrime(5))
True
>>> print(prime.factorize(64))
(2, 32)
>>> 

Installation

git clone https://github.com/BDR-Pro/PrimeShor

pip install PrimeShor/dist/PrimeShor-1.0.0-py3-none-any.whl

About

PrimeShor to find factors of a number

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages