<human>:  What is a good Python function to return a list index for duplicated data.
<bot>:

# Calling the function
print((get_index(list1, 5)))

#Example Output
# -1

#Remember to inspect code for bugs.