Skip to main content

A calculator

Project description


calculator

A simple Python package used to perform basic arithmetic operations.

Installation

Use the package manager pip to install calculator:

pip install calculator

Usage

from calculator import Calculator

calc = Calculator()

# Perform addition
calc.add(5, 3)

# Perform subtraction
calc.subtract(5, 3)

# Perform multiplication
calc.multiply(5, 3)

# Perform division
calc.divide(10, 2)

Author

Rodrigo Macarini

License

MIT


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

calculator_rodrigom-0.0.1.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

calculator_rodrigom-0.0.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file calculator_rodrigom-0.0.1.tar.gz.

File metadata

  • Download URL: calculator_rodrigom-0.0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for calculator_rodrigom-0.0.1.tar.gz
Algorithm Hash digest
SHA256 11a68906bf844889306c01bde6ee21ea778964d7b7eabef36824c192dfaf9828
MD5 08434b7d2c02f0ab1c51a4b66e601bbf
BLAKE2b-256 32aab871bef5875220ff92936ec2b076fd33a813ec0167227d7266f37ed48ea3

See more details on using hashes here.

File details

Details for the file calculator_rodrigom-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for calculator_rodrigom-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 676dabb1c7e43cb0fdf08465200fd5f6e630c50be2fb31b3ca29d9746980b6b8
MD5 4bcae3f587886c854ec21c579e1b4380
BLAKE2b-256 418f7c4777a0a73b4d6c28cd5a2a02ad87bf146b3c683418d44cc95007497140

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