MyGeometry is a simple Python library for calculating the area and perimeter of basic geometric shapes
Project description
MyGeometry
MyGeometry is a simple Python library for calculating the area and perimeter of basic geometric shapes.
Installation
pip install mygeometry
Usage
import mygeometry
Example usage for a square
side_length = 5 area = mygeometry.luas_persegi(side_length) perimeter = mygeometry.keliling_persegi(side_length)
print(f"Area of the square with side length {side_length}: {area}") print(f"Perimeter of the square with side length {side_length}: {perimeter}")
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
newgeometry14-0.0.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for newgeometry14-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53936681b111472e93fc790572ab0cb0974ed96794f72b5e9e25edf40ad67abd |
|
MD5 | 2ac8bd4659e649bd755ed199a04f9469 |
|
BLAKE2b-256 | bd92658d71e369d5ca214093bc8d7eacca0b7fa1b77c29f22c0f0a93b3c7073d |