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