My First Package
Project description
Area Calculator
first_package
first_package
is a Python package that provides a set of functions to calculate the areas of geometric shapes. It includes a module named Area_Fig.py
containing three functions:
square_area(side_length)
: Calculates the area of a square given the length of its side.rectangle_area(length, width)
: Calculates the area of a rectangle given its length and width.circle_area(radius)
: Calculates the area of a circle given its radius.
Installation
Install first_package
using pip: pip install first_package
Usage
from first_package.Area_Fig import square_area, rectangle_area, circle_area
Calculate the area of a square
print(square_area(5))
Calculate the area of a rectangle
print(rectangle_area(4, 6))
Calculate the area of a circle
print(circle_area(3))
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
AreaOfFig24test-0.0.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for AreaOfFig24test-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0a9dc2e786911e88bf37e9c1172259ba9eaf15143df8f695a647da790ff8557 |
|
MD5 | 2ee25cda97b8353384fe956ca9132a0e |
|
BLAKE2b-256 | 47740ed8e103325a675ac6bb2956826efb02fa3486f715aaaf7889ff2997cdbd |