Circumference

Problem Statement
The circumference of a circle is the distance around the circle. To calculate the circumference, we use the following formula:
\(2 * \pi * radius\)
Given the radius R, make a program that will print the circumference.
Note: Use the following code to import \(\pi\) :
import math
pi = math.pi
Constraints
Ris a float between 1 and 100
Input
Input is in the following format:
R
Output
Print the circumference as a float:
Samples
Sample 1
| Input | Output |
|---|---|
| 5 | 31.41592653589793 |
Sample 2
| Input | Output |
|---|---|
| 55.5 | 348.71678454846705 |
Sample 3
| Input | Output |
|---|---|
| 1 | 6.283185307179586 |
Comments