def mult(vector, float):
    """
    Multiplies a vector with a float and returns the result in a new vector.
    :param vector: List with elements of the vector.
    :param float: float is factor.
    :return: vector
    """
    new_vector = []
    for item in vector:
        new_vector.append(item * float)
    return new_vector