human
Write me a Python code equivalent to a vector.
assistant
Here is a Python code to equivalent of a vector

import numpy as np

def vector_to_list(vector):
    """
    Convert a vector to a list.
    """
    return list(vector)

# Enter the vector
vector = np.array([1, 2, 3])

# Calling the function
print((vector_to_list(vector)))

#Example Output
# [1, 2, 3]

#Remember to inspect code for bugs.