2017-4: Slice(s) of Pie(s)

Write code that calculates and returns the areas of 0 or more pie slices.

The first argument is 0 or more angles (in degrees).

The second argument is 0 or more pie diameters.

Examples

Implementation

You can also run the tests via ⌘/shift + enter