several (currently 4) modules for the finding of factors of numbers and the finding of prime numbers
Project description
factor.f(int) -> list of int – provides a list of all the factors of the first argument
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
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
factorcalc-0.1.tar.gz
(3.8 kB
view hashes)