how to look up the index of a value in a list code example Example: python index of item in list list.index(element)