Check if number is perfect cube
Project description
isCubed
Check if a number is a perfect cube
install
pip install isCubed
If that doesnt work try:
pip3 install isCubed
usage
from isCubed import isCubed
print(isCubed(5))
#prints False
print(isCubed(27))
#prints True
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
isCubed-0.1-py3-none-any.whl
(2.2 kB
view details)
File details
Details for the file isCubed-0.1-py3-none-any.whl
.
File metadata
- Download URL: isCubed-0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36aff60e75ccedb5585fd9c9721e7bcab8d42a4914bee238f9d53eccd2cf3014 |
|
MD5 | dce3ace9acec05ce7689f59b64374c35 |
|
BLAKE2b-256 | 444f6906929d5457a784c700e51283f0d800e2fda65ef8b9730c476ddaaea62b |