Write a function computing the perimeter of a circle given its radius.
First read the function tutorial.
Your function should be named circle_perimeter(radius)
,
where the radius
parameter is the radius of a cirle.
Your function should return the perimeter of a circle of the given radius
.
To test it, we will import your function and try it with different values, such as:
>>> from solution import circle_perimeter
>>> circle_perimeter(1)
6.283185307179586
>>> circle_perimeter(10)
62.83185307179586
>>> circle_perimeter(100)
628.3185307179587