human
Write me a Python program to index last number of values in arrays.
assistant
Here is a Python program to index last number of values in arrays

import numpy as np

def last_index(array):
    """Returns the last index of the given array.

    Args:
        array (list): The array to find the last index of.

    Returns:
        int: The last index of the given array.
    """
    return len(array) - 1

# Enter the array
array = [1, 2, 3, 4, 5]

# Calling the function
print((last_index(array)))

#Remember to inspect code for bugs.