Last updated:
0 purchases
primefaster 0.0.9
prime-faster
Description
This is a small program that finds all the prime numbers up to a given number faster than the naive algorithm.
Install
$ pip install prime-faster
Usage
import primefaster
print(primefaster.is_prime(7))
# True
print(primefaster.get_prime(10))
# [2, 3, 5, 7]
License
MIT License Copyright (c) 2022 Takahashi Akari [email protected]
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.