python get string index in list code example Example: get index of item in list list.index(element, start, end)