Skip to main content

calculator with essential math functions

Project description

Name: helptocalc

Version: 0.0.1

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

  1. installing via IDE -

%pip install helptocalc

— How it works:

from calculator.calculator import Calculator

new_obj = 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

helptocalc-0.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

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