A Python package for calculating factorials
Project description
PyFactorial
This is a simple Python package for calculating factorials.
Installation
You can install PyFactorial using pip:
pip install pyfactorial
Usage
To use the factorial function in your Python code, first import it:
from pyfactorial.module import factorial
Then, you can calculate the factorial of a non-negative integer:
result = factorial(5)
print(f"The factorial of 5 is {result}")
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
pyfactorial-0.0.1.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyfactorial-0.0.1.tar.gz.
File metadata
- Download URL: pyfactorial-0.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9c7eea9170e369f440a9ea3f58390a4cf9c90c6381a1277b18092f546c4d6ec
|
|
| MD5 |
b2275a1816255df8a65b599e0fbdd477
|
|
| BLAKE2b-256 |
948a2cd69e6fa1d111c6bb9edaeaa07814e9e3bfb68395755ee310c5662cb8d6
|
File details
Details for the file pyfactorial-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyfactorial-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32cfd0cd1bb9b8471b6af2b37555f2d42ef075807b0cda661607d05e2671799f
|
|
| MD5 |
2b05dbb8b97468cbfd870c3c20a852fb
|
|
| BLAKE2b-256 |
0b23410a4e4e46432ed57efc152c2895e9e390958a3e509276fdbc75c779a002
|