human
Give me a Python function to return the index of a number in a list.
assistant
Here is a Python function to return the index of a number in a list

# Enter the list
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Calling the function
print((find_index(a, 5)))

#Remember to inspect code for bugs.