from typing import List


def vector_length(a: List[int]) -> float:
    """Compute the length of a vector

    Args:
        a (List[int]): vector

    Returns:
        float: length of the vector
    """

    return sum(a[i] ** 2 for i in range(len(a))) ** 0.5