A Python library for performing arithmetic operations related to the area of different shapes
Project description
ArithmeticOperations Library
This is a Python library for performing arithmetic operations related to the area of different shapes.
Installation
To install this library, you can use pip:
pip install ArithmeticOperations
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.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for AreaOfShapesLib-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65bec38c7f147155ec34264de1a0bac00e5b6e204c32cf1f3981e5f25274205f |
|
MD5 | e4a8bd0ab9287ce5ff69ed00b5b49a5e |
|
BLAKE2b-256 | 1140bd0e7f580e1fbddb68e5734b84bc9757e93a5dc9d1409438e93dab06402a |