human
get nth element of array.
assistant
Here is a Python program to get the nth element of an array

import pandas as pd

def get_nth_element(array, n):
    """
    Get nth element of array.
    """
    return array[n]

# Enter the data
x = [1, 2, 3, 4, 5]
y = [1, 2, 3, 4, 5]

# Calling the function
print((get_nth_element(x, 2)))
print((get_nth_element(y, 2)))

#Example Output
# 3
# 3

#Remember to inspect code for bugs.