Skip to main content

A simple package calculating values for a single number

Project description

numberdata Documentation


numberdata lets you perform basic operations on numbers

pip install numberdata


import numberdata

Calculate SquareRoot of a number

output = numberdata.calculateSquareRoot(64)
# 8 

Calculate Square of a number

output = numberdata.calculateSquare(7)
# 49

Calculate Cube of a number

output = numberdata.calculateCube(3)
# 27

Calculate Power of a number

output = numberdata.calculatePower(2,4))
# 16

Power can also be calculated of non-integer numbers.

# Calculate Power of a number
# 5

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for numberdata, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size numberdata-1.0.2-py3.7.egg (2.7 kB) File type Egg Python version 3.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page