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 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.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for AreaOfShapesLib-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eed17ccfd214a38a0012add4a252c641c897e48abab5c9235606254b7340608 |
|
MD5 | fa2ec51c2ba51def5b61fb5e9940d03b |
|
BLAKE2b-256 | 928b06112f64675870461fd95f8efddf026f919d584150f7d9df34f5e14606e8 |