<human>:  What is a good Python function to index a number in a list? What is python function to index numbers in a given list.
<bot>:

# Enter the number
val = 5

# Calling the function
print((_index_of(val, list)))

#Remember to inspect code for bugs.