Skip to main content

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


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)

Uploaded Source

Built Distribution

newgeometry14-0.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page