several (currently 5) modules relating to factor and multiple calculation
Project description
- factor.f(integer)
factor.f(int) -> list of int – provides a list of all the factors of the first argument
- factor.gcf(num1, num2)
factor.gcf(translatable to int, translatable to int) -> int – provides the greatest common factor of the integers in the first argument
- factor.prime(integer)
factor.prime(int) -> bool – checks if the first argument is prime
- factor.primes(minimum, maximum)
factor.primes(int, int) -> list of int – returns all prime numbers within the range of the first and second arguments including the arguments themselves
- mult(number, quantity)
factorcalc.mult(int, int > 0) -> list of int – returns a list containing, in order, multiples of the first argument with the second argument being its length This module does not relate to factor calculation but to multiple calculation. It has been added beause it might be of use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for factorcalc-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fe3c04526171ab38914b606dc36335e7a5d6a21ff95cc60fba05b3f41062d04 |
|
MD5 | 67062179df80c0db589208dfc4c63795 |
|
BLAKE2b-256 | ed9b3e798cbe52e8aa02d532c703ce183e00179aaba327fc1287ec579e84db9d |