Library for calculating grains on a chessboard
Project description
Grains Library
This library provides functions to calculate the number of grains on a chessboard.
Install Locally
Run the following command in the terminal to install your library locally for testing:
pip install .
Usage
Here is an example of how to use this library:
from grains import square, total
print(square(5)) # Grains on square 5
print(total()) # Total grains on chessboard
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
grainsy-1.0.2.tar.gz
(1.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 grainsy-1.0.2.tar.gz.
File metadata
- Download URL: grainsy-1.0.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f202cbd3f6add6c931b4459d2545550a351942306ec5ea2c02129c8e90b5d904
|
|
| MD5 |
bf30dd328e3025dc80021a82af7298c5
|
|
| BLAKE2b-256 |
8a1d0816a2612c9f26a88fa4e4a536a8548483428cb938c896a8c61588486fba
|
File details
Details for the file grainsy-1.0.2-py3-none-any.whl.
File metadata
- Download URL: grainsy-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ad17a750f31d3e087f0c7fad3e4e06df219d222c4092360352152c80c4ac413
|
|
| MD5 |
bb3d9c8a4b2fcb1592c60cab7c238025
|
|
| BLAKE2b-256 |
18181703fe6ba337cbc18b125692ed04633e9e91166dfb061415ad7dfa21109b
|