Skip to main content

calculator with essential math functions

Project description

Name: memcalc

Version: 0.0.1

Description: memcalc 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 memcalc

  1. installing via IDE -

%pip install memcalc

— How it works:

from calculator.calculator import Calculator

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

new_obj.add(55) # Returns 55.0

new_obj.subtract(22.6) # Returns 32.4

new_obj.multiply(5) # Returns 162.0

new_obj.divide(2) # Returns 81.0

new_obj.n_root(4) # Returns 3.0

new_obj.return_memory # Returns 3.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

memcalc-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for memcalc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 679e293a439a3d8a1ad7298c5fbc38da27b442cc8594dd6cbfceb5465f78826c
MD5 3946ad2cc7afbbd4407890ed34f6cb1c
BLAKE2b-256 f62d889cb70528c761b03f33adfdccf819c4cd98f2d91fe21e0b13d248cc4c8e

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