0 out of 464 challenges solved

Minimum of Three Numbers

Write a Python function `min_of_three(a, b, c)` that takes three numbers as input and returns the smallest of the three numbers.

#### Example Usage:
```python [main.nopy]
print(min_of_three(10, 20, 0))  # Output: 0
print(min_of_three(19, 15, 18))  # Output: 15
print(min_of_three(-10, -20, -30))  # Output: -30
```

#### Requirements:
- The function should handle both positive and negative numbers.
- The function should return the smallest number among the three inputs.
def min_of_three(a, b, c):
    """
    Returns the smallest of three numbers.

    Parameters:
    a (int or float): The first number.
    b (int or float): The second number.
    c (int or float): The third number.

    Returns:
    int or float: The smallest of the three numbers.
    """
    # Placeholder for the solution
    pass