Metadata-Version: 2.1
Name: AreaCalculationSergey
Version: 1.0
Summary: Area calculation of diferent figures.
Author-email: worldad20@gmail.com
Description-Content-Type: text/markdown

# AreaCalculationSergey 0.0

## What is this?

The module allows you to calculate areas of different figures.

## Quick Guide

from AreaCalc import \*

There are three functions:

## area_of_circle(radius, round_result=2) - allows you to calculate area of a circle, using only radius.

## area_of_triangle(side1, side2, side3, round_result=2) - allows you to calculate area of a triangle, using three sides of triangle.

Also you can add additional argument to round the result, by default is 2.

## right_triangle(side1, side2, side3) - allows you to know whether triangle is right or not.

## How to add new metod

```
def area_rectangle(side1, side2, round_result=2):
    return side1 * side2


exemple = AreaCalc()
exemple.area_rectangle = area_rectangle
exemple.area_rectangle(5, 4)
```

---

## Instaling

pip install AreaCalculationSergey==0.0
