Skip to main content

A simple calculator package

Project description

from simple-calculator-py import calculator

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

from simple-calculator-py import calculator

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

from simple-calculator-py 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

simple-calculator-py-1.1.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file simple-calculator-py-1.1.0.tar.gz.

File metadata

  • Download URL: simple-calculator-py-1.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for simple-calculator-py-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c35a7307eeb0c99b60eb72ca63b28b6798688ff59b43bf98e705c9171d6da76d
MD5 36b3718e08383c86b57abc1867d24793
BLAKE2b-256 307632281f570238d3a5e4f129b00108fbb93142d2ecaf69c7463047685fd7f5

See more details on using hashes here.

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