Last updated:
0 purchases
Primaaaaaaa 0.0.1
Prima is a simple Python package that provides a class for checking whether a given number is prime.
Usage:
```
from Prima import Prima
number = 17
primality_checker = Prima(number)
if primality_checker.is_prima():
print(f"{number} is a prime number.")
else:
print(f"{number} is not a prime number.")
```
The package uses a basic algorithm to determine primality by checking divisibility up to the square root of the given number.
For more information, please visit the GitHub repository: https://github.com/yourusername/Prima
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.