Human: What is a good Python function for changing an array to a list. Assistant: 
Here is a Python function for changing an array to a list

import numpy as np

def array_to_list(a):
    """
    Convert an array to a list
    """
    return list(a)

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

# Calling the function
print((array_to_list(a)))

#Example Output
# [1, 2, 3]

#Remember to inspect code for bugs.