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 hashes)

Uploaded Source

Built Distribution

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