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
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
Built Distribution
File details
Details for the file area-calculator-dci_mori_fazel-0.0.1.tar.gz
.
File metadata
- Download URL: area-calculator-dci_mori_fazel-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be7c50dcf50033fd62ec94e2717fec07c38b56fe469fb1915d595809f725bdd9 |
|
MD5 | 5796931347a52cc5a83de01da38c5eaa |
|
BLAKE2b-256 | 49cdd6c23f31514c10c41c8a0c8b6bb655300724e2ee025122a1a60d4a229191 |
File details
Details for the file area_calculator_dci_mori_fazel-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: area_calculator_dci_mori_fazel-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b18c4dbc1265505c058d64e417ff1077f113c3b2a2683d574a411995308c9e |
|
MD5 | 65fc7768afff13ca5495c82eebe7929a |
|
BLAKE2b-256 | 3ed053e8d5684d662d37ac20840bd2f4b539011b671517c46a4c676e94e0b737 |