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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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