search from the list python code code example Example: python search list search = listname.index('search')