rect
A library for rectangles.
Usage
Rect takes four arguments x
, y
, width
, and height
.
It also has two methods:
perimeter()
: returns the perimeter of the rectanglearea()
: returns the area of the rectangle
A library for rectangles.
Rect takes four arguments x
, y
, width
, and height
.
It also has two methods:
perimeter()
: returns the perimeter of the rectanglearea()
: returns the area of the rectanglenpm i rect
159
1.2.1
MIT