human
check if two arrays are equal.
assistant
Here is a Python program to check if two arrays are equal

import numpy as np

def array_equals(a, b):
    """
    Returns True if a and b are equal, False otherwise.
    """
    if len(a)!= len(b):
        return False
    for i in range(len(a)):
        if a[i]!= b[i]:
            return False
    return True

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

# Enter the array
b = np.array([1, 2, 3, 4, 5])

# Calling the function
print((array_equals(a, b)))

#Example Output
# True

#Remember to inspect code for bugs.