Red Packets Split Algorithm
Project description
RedPackets Split & Return split_list if succeed & Raise Exception if failed
Installation
pip install redpackets
Usage
import redpackets redpackets.split_dollor(total, num, min=0.01): redpackets.split_cent(total, num, min=1): # cent=False equals split_dollor # cent=True equals split_cent redpackets.split(total, num, min=None, cent=False) redpackets.cent(dollar, rate=100) redpackets.dollor(cent, rate=100)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redpackets-1.0.5.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for redpackets-1.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71e58b85c762a91dcf38ecc7269e7b7f1e47dd271c13d9544b37d0834d884512 |
|
MD5 | 96d207587a9e88ab1eadf35fb4dddc63 |
|
BLAKE2b-256 | 5c948aff289bddaafdd99104324717efed2745afc33a75469613b58dc401c5d1 |