Skip to main content

Calculate areas of geometrical figures

Project description

Area Calculator Package

Introduction

The area_calculator package is a simple Python package that includes functions for calculating the area of different shapes.

Installation

You can install area_calculator using pip:

pip install area_calculator

Usage

To use area_calculator, first import the functions you want to use:

from area_calculator import welcome, square

Welcome function

The welcome function can be used to print a welcome message:

welcome()  # Output: Hello, welcome to area calculator package!

Square function

The square function can be used to calculate the area of a square:

area = square(4)
print(area)  # Output: 16

The square function takes one argument, a, which represents the length of one side of the square.

License

This package is released under the MIT license. See the LICENSE file for more information.

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

area-calculator-dci_mori_fazel-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file area-calculator-dci_mori_fazel-0.0.1.tar.gz.

File metadata

File hashes

Hashes for area-calculator-dci_mori_fazel-0.0.1.tar.gz
Algorithm Hash digest
SHA256 be7c50dcf50033fd62ec94e2717fec07c38b56fe469fb1915d595809f725bdd9
MD5 5796931347a52cc5a83de01da38c5eaa
BLAKE2b-256 49cdd6c23f31514c10c41c8a0c8b6bb655300724e2ee025122a1a60d4a229191

See more details on using hashes here.

File details

Details for the file area_calculator_dci_mori_fazel-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for area_calculator_dci_mori_fazel-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54b18c4dbc1265505c058d64e417ff1077f113c3b2a2683d574a411995308c9e
MD5 65fc7768afff13ca5495c82eebe7929a
BLAKE2b-256 3ed053e8d5684d662d37ac20840bd2f4b539011b671517c46a4c676e94e0b737

See more details on using hashes here.

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