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.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for AreaOfShapesLib-4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44fdc66ab1c3434ea6c92ce660b0dbb83afae3044a0ee3d68c416aecdc346f48 |
|
MD5 | 02ac386194d4e513fdc8e9b28f25a19a |
|
BLAKE2b-256 | 168f2fb866ab35e9d55c3c6b597b370ceb0770e13b4b3c3fab129bc3d4d0b94e |