how to find index value of a character in a list python code example Example: get index of list python list.index(element)