human
Give me a Python function for using arrays to return multiple values.
assistant
Here is a Python function for using arrays to return multiple values

import numpy as np

def return_multiple_values(arr):
        """
        Returns multiple values from an array
        :param arr: array
        :return:
        """
        return arr[0], arr[1]

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

# Calling the function
print((return_multiple_values(arr)))

#Example Output
# (1, 2)

#Remember to inspect code for bugs.