> masteringswe_
codingpython

list - index

Get the index of the first occurrence of value in list, my_list and throw an error if it does not exist. What is the time complexity?