elem = 'wh'
index_li = []
for idx, item in enumerate(A):
    for word in item:
        if word.startswith(elem):
            print(word, item)
index_li.append(idx)
break
print(index_li)
Search a list using a string