Possible combinations - Python Library
Project description
A simple library that calculates all possible combinations of a list of a given length.
Usage(hex to binnary)
import pcomp
print (pcomp.area(range(2),4)
#it returns: 16
print (pcomp.all(range(2),4)
# it returns: [‘0000’, ‘0001’, ‘0010’, ‘0011’, ‘0100’, ‘0101’, ‘0110’, ‘0111’, ‘1000’, ‘1001’, ‘1010’, ‘1011’, ‘1100’, ‘1101’, ‘1110’, ‘1111’]
Change Log
1.0.0 (10/7/2022)
First Release
1.0.1 (10/7/2022)
Fixed a problem
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
pcomp-1.0.1.tar.gz
(2.6 kB
view hashes)