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