0 out of 464 challenges solved

Maximum of Two Numbers

Write a Python function `maximum(a, b)` that takes two numbers as input and returns the larger of the two. If the numbers are equal, it should return either of them.

#### Example Usage
```python [main.nopy]
print(maximum(5, 10))  # Output: 10
print(maximum(-1, -2))  # Output: -1
print(maximum(9, 7))  # Output: 9
```

#### Requirements
- The function should handle both positive and negative numbers.
- The function should work for integers and floating-point numbers.
def maximum(a, b):
    """
    Returns the maximum of two numbers.

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

    Returns:
    int or float: The larger of the two numbers.
    """
    # Write your code here
    pass