Skip to content

PriestFaria/geometric_lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About project

Project represents a few python modules for work with some simple geometric figures and calculate their properties.

Figures and properties

  • square: area, perimeter
  • circle: area, perimeter
  • triangle: area, perimeter
  • rectangle: area, perimeter

Modules description

  • circle.py

    • area(r): takes radius r and returns area
    • perimeter(r): takes radius r and returns perimeter
  • square.py

    • area(a): takes a side and returns area
    • perimeter(a): takes a side and returns perimeter
  • rectangle.py

    • area(a,b): takes a and b sides and returns area
    • perimeter(a,b): takes a and b sides and returns perimeter
  • triangle.py

    • area(a, h): takes side a and height h and returns area
    • perimeter(a, b, c): takes a, b, c sides and returns perimeter

History of changes

About

devpo git lab 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%