searching in list in python code example Example: python search list search = listname.index('search')