Human: index of a number in a list. Assistant: 
Here is a Python function to index a number in a list

# Enter the number
number = 10

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

# Calling the function
print((index_of_number(number, list)))

#Example Output
# 9

#Remember to inspect code for bugs.