Write a python script that implements a function Pythagorean(A,B) that returns the hypotenuse of a triangle given the two other sides.
Here's a Python script that implements a function Pythagorean(A, B) that returns the hypotenuse of a triangle given the two other sides:

```py
import math


def Pythagorean(A: float, B: float) -> float:
    """Calculate the length of the hypotenuse of a right triangle.

    Given the lengths of the legs A and B, the function uses the Pythagorean
    theorem to calculate the length of the hypotenuse C: C = sqrt(A^2 + B^2).

    Args:
        A (float): The length of the first leg of the right triangle.
        B (float): The length of the second leg of the right triangle.

    Returns:
        float: The length of the hypotenuse of the right triangle.
    """
    C = math.sqrt(A**2 + B**2)
    return C

# Example usage: Calculate the hypotenuse of a triangle with sides 3 and 4
C = Pythagorean(3.0, 4.0)
print(C)  # Output: 5.0
```