Skip to main content

A simple calculator package

Project description

from tanvircalculator import calculator

result = calculator.add(5, 3)
print(result)  # Output: 8

from tanvircalculator import calculator

result = calculator.subtract(5, 3)
print(result)  # Output: 2

from tanvircalculator import calculator

result = calculator.multiply(5, 3)
print(result)  # Output: 15

from simple-calculator-py import calculator

result = calculator.divide(10, 2)
print(result)  # Output: 5

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

tanvircalculator-1.1.1.tar.gz (2.7 kB view hashes)

Uploaded Source

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