pycircle.circles module

pycircle.circles.circle_area(radius)[source]

Compute area of a circle.

The area of a circle with radius \(r\) is \(\pi r^2\).

Parameters

radius (float or int, must be nonnegative) – Radius of the circle.

Returns

area – Area of the circle.

Return type

float