Skip to main content

Simple Calculator with memory

Project description

Calculator

Simple calculator with basic mathematics operations and its own memory.

Installation

Use the package manager pip to install calculator.

pip install calculator

Usage

from calculator import Calculator

#first create an instance of Calculator
x = Calculator()

x.add(1,3) # returns 4 (sum of 1 and 3) and saves it to memory
x.sub(1) # returns 3 (subtracts 1 from "memory")

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-anarim1-0.0.1.tar.gz (59.4 kB view details)

Uploaded Source

Built Distribution

calculator_anarim1-0.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file calculator-anarim1-0.0.1.tar.gz.

File metadata

  • Download URL: calculator-anarim1-0.0.1.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for calculator-anarim1-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5aa306474e0608f984ea819dea8f0b7a9f37f65e48fc5afa32bfa205ba6a0eb2
MD5 41acbaa13b8d8230ffda28291e9a31af
BLAKE2b-256 5ad8761513660e6e5caf3ec0ad27045fc2a4a7704419b575bea456287f7b7bc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: calculator_anarim1-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for calculator_anarim1-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7ee5921b46978b28d2b97d232ea250d7995e0b95599ff515157ccfeaa0269a
MD5 89eb8d6dcb94b437d613bee4bc066126
BLAKE2b-256 79874197da7ffed9eb46d6cb476ae25e93c2259518328b2f36641de6ce09029a

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