معرفی شرکت ها


calculator_gskv_m1_s1-0.1.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

This module contains a Calculator
ویژگی مقدار
سیستم عامل -
نام فایل calculator_gskv_m1_s1-0.1.4
نام calculator_gskv_m1_s1
نسخه کتابخانه 0.1.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Gediminas Skvarnavicius <gediminas.skvarnavicius@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/calculator_gskv_m1_s1/
مجوز -
# Calculator_gskv_m1_s1 Calculator_gskv_m1_s1 is a Python module for performing simple mathematical operations. ## Installation Use the package manager [pip](https://pip.pypa.io/en/stable/) to install calculator_gskv_m1_s1. ```bash pip install calculator_gskv_m1_s1 ``` ## Usage ```python import calculator_gskv_m1_s1 as calc # Initiates a calculator object with a default value of 0 calculator=calc.Calculator() # Returns the current value of the calculator object calculator.current_value # Adds float or int argument to the current value and returns the result calculator.add(float) # Subtracts float or int argument from the current value and returns the result calculator.subtract(float) # Multiplies the current value by float or int argument and returns the result calculator.multiply(float) # Divides the current value by float or int argument and returns the result calculator.divide(float) # Raises the current value to the power of float or int argument and returns the result calculator.exponentiate(float) # Takes the root of the current value taking the float or int argument as root index calculator.root(float) # Resets the current value to zero returns current value calculator.reset() ``` ## Testing After making changes to the module tests should be run. Testing the package that is installed can be done by running [pytest](https://pypi.org/project/pytest-readme/) ```bash pytest ``` Testing the package that is not installed can be done by invoking pytest trough the python interpreter ```bash python -m pytest ``` ## Contributors Gediminas Skvarnavičius With the help of Turing College ## License [MIT](https://choosealicense.com/licenses/mit/)


نحوه نصب


نصب پکیج whl calculator_gskv_m1_s1-0.1.4:

    pip install calculator_gskv_m1_s1-0.1.4.whl


نصب پکیج tar.gz calculator_gskv_m1_s1-0.1.4:

    pip install calculator_gskv_m1_s1-0.1.4.tar.gz