Skip to main content

Calculator package

Project description

Calculator_SB

Calculator_SB is a class that allows to calculate basic mathematics functions: addition, subtraction, multiplication, division, root square.

Project is created as part of TC data science course.

Installing Calculator_SB

pip install CalcDSSB

Using Calculator_AB

Calculator_AB has internal memory, to witch actions are performed.

Possible functions:

    __init__(self)
        Sets memory to zero.

    add(self, number)
        Adds number to memory.
        Returns memory.

    sub(self, number)
        Subtracts number from memory.
        Return memory.

    multi(self, number)
        Multiples  memory by number.
        Return memory.

    div(self, number)
        Divides memory by number.
        Return memory.

    srt(self)
        Takes square root of memory.
        Return memory.

    mem_reset(self)
        Resets memory to zero.

Contact

If you want to contact me you can reach me at banyssimas@gmail.com.

License

This project uses the following license: MIT License.

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

CalcDSSB-0.1.3.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.

CalcDSSB-0.1.3-py2.py3-none-any.whl (1.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file CalcDSSB-0.1.3.tar.gz.

File metadata

  • Download URL: CalcDSSB-0.1.3.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for CalcDSSB-0.1.3.tar.gz
Algorithm Hash digest
SHA256 38ef69eeafb7b0fee8572d311fe612c4c5906915906738e8c8fa5b3f3040935d
MD5 a94146e61dffab7ed32b2ee78d01b30c
BLAKE2b-256 b3376b25fc0df307379517ca22769100472ec9519e1edcee52671ab26a0e099f

See more details on using hashes here.

File details

Details for the file CalcDSSB-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: CalcDSSB-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for CalcDSSB-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2db12a5632d023e18f19ffb8cad86d6b486ad74bfcb5aecd73588ba3bb6278d5
MD5 72195405190ec8d8220463fb4bc3a7f7
BLAKE2b-256 a05239bd1a514cf79e72e727f2fdc5dfff95d5f5202b50e0b308e533e5dbc834

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