<doocs>1408.String Matching in an Array_1.py
def stringMatching( words: List[str]) -> List[str]:
    ans = []
    for i, w1 in enumerate(words):
        for j, w2 in enumerate(words):
            if i != j and w1 in w2:
                ans.append(w1)
                break
    return ans
def sample_funcname ( var_0 : List [ str ] ) -> List [ str ] :
    var_3 = [ ]
    for var_5 , var_6 in enumerate ( var_0 ) :
        for var_7 , var_8 in enumerate ( var_0 ) :
            if var_5 != var_7 and var_6 in var_8 :
                var_3.append ( var_6 )
                break
    return var_3
