Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.11 KB

Name:- Amit Kumar Reg No - 72112121

Python-Library-Project-2-

MyMathLib

MyMathLib is a Python library designed to simplify basic mathematical operations and provide additional utility functions for numeric calculations. The library aims to be user-friendly, efficient, and versatile for a wide range of mathematical tasks.

Features

Core Mathematical Operations

MyMathLib includes the following core mathematical operations:

  • Addition: Adds two numbers together.
  • Subtraction: Subtracts the second number from the first.
  • Multiplication: Multiplies two numbers together.
  • Division: Divides the first number by the second.
  • Modulo: Returns the remainder of dividing the first number by the second.
  • Power: Raises the first number to the power of the second.

Additional Utility Functions

In addition to basic operations, MyMathLib provides utility functions for more advanced calculations:

  • is_even: Checks if a number is even.
  • absolute_value: Returns the absolute value of a number.

Installation

To install MyMathLib, you can use pip:

pip install mymathlib