<human>:  Write me a Python function to access the last element numpy.
<bot>:

# Enter the numpy array
array = np.arange(10)

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

#Example Output
# 9

#Remember to inspect code for bugs.