python get index from element in array code example Example: python index of item in list list.index(element)