A simple combinatorics package which offers combinations and permutations functions
Project description
Combinatorics Package
This is a simple combinatorics package which offers combinations and permutations functions.
Importing
You can import the factorial package by:
from combinatorics_tb import combinatorics
Using Combinatorics
You can use the combinations (where order doesn't matter) command using:
combinatorics.combinations(52, 2)
which will output 1326.
You can use the permutations (where order does matter) command using:
combinatorics.permutations(52, 2)
which will output 2652.
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
Built Distribution
File details
Details for the file combinatorics_tb-0.0.1.tar.gz
.
File metadata
- Download URL: combinatorics_tb-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a4cddab4bf6d61642e67371a88fe1cd89ed257a09ac9de3f6ffeb25671e956 |
|
MD5 | a5ec24852458ec47bab4eb3f7c0b1328 |
|
BLAKE2b-256 | 1b736d9f021a0d517eb5f7593856bc58738d6024fa76eed78657c7827e3cbd47 |
File details
Details for the file combinatorics_tb-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: combinatorics_tb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 808eb7f652e0c070dfa6e154b9340cd6044790997d74fa5120b87f6e512a270f |
|
MD5 | 1d2877f3912fcc6bcc6ee9b9c0d2f093 |
|
BLAKE2b-256 | 68b7733038f72ff9326731a3ecce05c93ee92c1b069443a93ad2830d6234b134 |