<human>:  What is a good Python program to get the nth element of array.
<bot>:

# 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.