semvec/pypi-packages huggingface dataset:
aps-perimeter 0.0.1
module to calculate perimeter
Requires Python: >=3.0

THIS MODULE HELP YOU TO FIND PERIMETER OF VARIOUS 2D-SHAPES
python code:
from aps_perimeter import *
#perimeter of parallelogram
print(parallelogram(1,2))
#perimeter of square
print(square(2))
#perimeter of triangle
print(triangle(1,2,3))
#perimeter of rectangle
print(rectangle(1,2))
#perimeter of trapezoid
print(trapezoid(1,2,4,6))
#perimeter of kite
print(kite(1,2))
#perimeter of rhombus
print(rhombus(2))
#perimeter of hexagon
print(hexagon(2))
#perimeter of circle
print(circle(2))
#perimeter of ellipse
print(ellipse(1,2))
#perimeter of  regular polygon
print( regular_polygon(1,2))