This is a simple Python library for performing arithmetic operations related to the area of different shapes.
Visit: https://pypi.org/project/AreaOfShapesLib
or To install this library, you can use pip:
pip install AreaOfShapesLib
Import the Library Using:
from areaofShapesLib import *
Here are some examples of how to use the library:
# Calculate the area of a triangle
area = area_of_triangle(10, 5)
print(area) # Output: 25
# Calculate the area of a circle
area = area_of_circle(5)
print(area) # Output: 78.53981633974483
# Calculate the area of a rectangle
area = area_of_rectangle(10, 5)
print(area) # Output: 50
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.