A Python library for performing arithmetic operations related to the area of different shapes
Project description
Get the Area of Shapes Library
This is a Python library for performing arithmetic operations related to the area of different shapes.
Installation
Visit: https://pypi.org/project/AreaOfShapesLib/0.2/
or To install this library, you can use pip:
pip install AreaOfShapesLib==0.2
Usage
Import the Library Using:
from areaofShapesLib import ArithmeticOperations
Demo
Here are some examples of how to use the library:
# Calculate the area of a triangle
area = ArithmeticOperations.area_of_triangle(10, 5)
print(area) # Output: 25
# Calculate the area of a circle
area = ArithmeticOperations.area_of_circle(5)
print(area) # Output: 78.53981633974483
# Calculate the area of a rectangle
area = ArithmeticOperations.area_of_rectangle(10, 5)
print(area) # Output: 50
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AreaOfShapesLib-0.3.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for AreaOfShapesLib-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f41c1da14e974c7786eec3dcb34a9c48f77c0c0e2034fb52b23d8a2af11112aa |
|
MD5 | 5060480eb6233493ce07ff9402b2db83 |
|
BLAKE2b-256 | 1f8ceee9de23fb0a07ba78628322c67ab208303e5fe7359d191c5a4fa2ed757c |