1# Basic syntax:
2list.index(element, start, end)
3# Where:
4# - Element is the item you're looking for in the list
5# - Start is optional, and is the list index you want to start at
6# - End is option, and is the list index you want to stop searching at
7
8# Note, Python is 0-indexed
9
10# Example usage:
11my_list = [1, 2, 3, 4, 5, 6, 7, 8, 42, 9, 10]
12my_list.index(42)
13--> 8