Skip to main content

Calculator Python package

Project description

Emilija's Calculator Package

Description

The package is an implementation of a calculator that performs basic math tasks written in Python. The actions implementd:

  • Addition / Subtraction (adds new value to an existing in the memory)
    • calculator.add(2)
  • Multiplication / Division.
    • calculator.mul(2)
    • calculator.div(2)
  • Take nth root of a number.
    • calculator.root(2)
  • Reset memory to 0
    • calculator.reset()
  • View current value in the memory
    • calculator.get_current_val()

Install

pip install calculator-package-emabaran==0.0.1

https://pypi.org/project/calculator-package-emabaran/0.0.1/

Import

  • Importing calculator object:
from calculator import calculator
  • Importing Calculator class:
from calculator.calc_mod import Calculator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

calculator_package_emabaran-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for calculator_package_emabaran-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 720d4b61324d7c6678f8648948f230d786ddf1e5ebe6dece153924f1aa0ce56c
MD5 9e278e8127b8ccd7e70c3e9c8ebe652a
BLAKE2b-256 4be3c4212d1d1515f319a96b02961d0ef43b61bc62767b461255c825c6abea62

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