Skip to main content

Simple Calculator Package

Project description

How to Use This Package

Install the package by using this

pip install sameer-simple-calculator

Import Dependencies

from libname.calculator import (
    addNumbers,
    subtractNumbers,
    multipleNumbers,
    divideNumbers,
    getRemainderValue,
    getExponentialValue
)

Example usage

result_add = addNumbers(5, 3, 2)
result_subtract = subtractNumbers(10, 5, 1)
result_multiply = multipleNumbers(2, 3, 4)
result_divide = divideNumbers(20, 4, 2)
result_remainder = getRemainderValue(20, 6, 3)
result_exponential = getExponentialValue(2, 3, 2)
print(f"Addition Result: {result_add}")
print(f"Subtraction Result: {result_subtract}")
print(f"Multiplication Result: {result_multiply}")
print(f"Division Result: {result_divide}")
print(f"Remainder Result: {result_remainder}")
print(f"Exponential Result: {result_exponential}")

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

sameer-simple-calculator-1.0.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sameer_simple_calculator-1.0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file sameer-simple-calculator-1.0.2.tar.gz.

File metadata

File hashes

Hashes for sameer-simple-calculator-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e30dc59f1cc1028e549e62db06c2333d3706a0e5e024e311520e7ea9ef2295df
MD5 bf0dac233734a23af94d62f80937d369
BLAKE2b-256 d057984650556494c2fccdba608010bacecc202d41479ccce541a8181378580b

See more details on using hashes here.

File details

Details for the file sameer_simple_calculator-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sameer_simple_calculator-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e567251b8217f54b2d51157646e3a6d2b77d34ec48714dbccb0ac29539eff029
MD5 8909fb229ae10630abd60dcc115f9e44
BLAKE2b-256 461e15ec27845ce6277e01034b1f17447a759250f24b31a149fd1a8ea5cbbab1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page