-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Nicolás Berrios edited this page Oct 1, 2020
·
1 revision
Primality helps you easily find, test and work with prime numbers in Python.
- isprime(p: int) True if {p} is prime.
- nthprime(nth: int) Returns the {nth} prime, starting from n = 0, returning 2.
- prange(n: int) Returns a list with the form of [2, 3, ..., {n}th prime].
All notable changes to the project will be documented in the CHANGELOG.md file.
- Add .github, docs, ignore.pypi
- Add tests/