<doocs>1455.Check If a Word Occurs As a Prefix of Any Word in a Sentence_1.py
def isPrefixOfWord( sentence: str, searchWord: str) -> int:
    for i, s in enumerate(sentence.split(), 1):
        if s.startswith(searchWord):
            return i
    return -1
def sample_funcname ( var_0 : str , var_2 : str ) -> int :
    for var_5 , var_8 in enumerate ( var_0.split ( ) , 1 ) :
        if var_8.startswith ( var_2 ) :
            return var_5
    return - 1
