A Python library for performing arithmetic operations related to the area of different shapes
Project description
Area of Shapes Package
This is a simple Python library for performing arithmetic operations related to the area of different shapes.
Installation
Visit: https://pypi.org/project/AreaOfShapesLib
or To install this library, you can use pip:
pip install AreaOfShapesLib
Usage
Import the Library Using:
from areaofShapesLib import *
Demo
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
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-4.2.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for AreaOfShapesLib-4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f09411f78ba76b9620133af45124e81bd6ddb0cb9e47d37b1d2f71c7575b54 |
|
MD5 | 7f84579434f4c8a5a871f4794f1d6142 |
|
BLAKE2b-256 | 01ce6e4fc0dc064cb6e3247de7b4bd57e494b387e7c4e0a83056f12b3aefb2e4 |