# define function here...
def get_index
print(get_index([1,2,3],3)) # expected: 2
print(get_index([0,9,19],9)) # expected: 1
print(get_index(['x','y','z'],'z')) # expected: 2
Python
Setting up Python environment...
Output