Skip to main content

calculator with essential math functions

Project description

Name: dondacalculator

Version: 0.0.1

Description: dondacalculator is a Python package made for performing essential math calculations for everyday use.

Supported Actions:

  • Addition

  • Multiplication

  • Subtraction

  • Division

  • nth root calculation

  • Memory reset

  • Print out memory

— How to install this package: 1. installing via terminal -

pip install dondacalculator

  1. installing via IDE -

%pip install dondacalculator

— How it works:

from calculator import Calculator as calc

new_obj = calc.Calculator() # New object is created.

new_obj.add(15) # Returns 15.0

new_obj.subtract(5) # Returns 10.0

new_obj.multiply(20) # Returns 200.0

new_obj.divide(2) # Returns 100.0

new_obj.n_root(2) # Returns 10.0

new_obj.return_memory # Returns 10.0

new_obj.memory_reset # Resets memory to 0.0

Keywords: calculator, addition, multiplication, subtraction, division, nth root

This project is licensed under the terms of the 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

dondacalculator-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: dondacalculator-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for dondacalculator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ed638ed6ade1f7b66a408f2770e18ef184c234e8dcd54e30ef94e1a7950a07ad
MD5 42156b4995b9e7a94cc21b9a163f7b62
BLAKE2b-256 5b1bc81f77a20db7794a9b695e231042ae9053a40b9a724157d34b6003e47a98

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