0 out of 464 challenges solved

Circle Circumference Calculation

Write a function `circle_circumference` that calculates the circumference of a circle given its radius. The formula for the circumference of a circle is:

\[ C = 2 \pi r \]

Where:
- \( C \) is the circumference,
- \( \pi \) is approximately 3.1415,
- \( r \) is the radius of the circle.

#### Example Usage
```python [main.nopy]
print(circle_circumference(10))  # Expected output: 62.83
print(circle_circumference(5))   # Expected output: 31.415
print(circle_circumference(4))   # Expected output: 25.132
```
def circle_circumference(r):
    """
    Calculate the circumference of a circle given its radius.

    Args:
        r (float): The radius of the circle.

    Returns:
        float: The circumference of the circle.
    """
    # Replace the following line with your implementation
    pass