with the which method we can search a list python code example Example: python search list search = listname.index('search')