import math


def magnitude(v):
    """
    Magnitude is a length of a vector
    :param v: The vector we want to find the magnitude of
    :return: The magnitude of v
    """
    return math.sqrt(math.pow(v[0], 2) +
                     math.pow(v[1], 2) +
                     math.pow(v[2], 2))