Suppose I have a list of elements and I want to find the index of any element. How will I find the index of any element of a list? Are there any built-in methods available for finding the index of the specific element of the list?
my_list = [ 1, 2, 3, 4, 8, 9, 5 ] # code that helps me to find index of 3 ==> ?
The index of '3' : 2
Share with me some sample code that helps me in finding the index of an element of the list.