def find_first_in_list(txt: str, str_list: [str]) -> int:  
start = len(txt) + <NUM_LIT:1><EOL>for item in str_list:<EOL><INDENT>if start > txt.find(item) > -<NUM_LIT:1>:<EOL><INDENT>start = txt.find(item)<EOL><DEDENT><DEDENT>return start if len(txt) + <NUM_LIT:1> > start > -<NUM_LIT:1> else -<NUM_LIT:1><EOL>
Returns the index of the earliest occurence of an item from a list in a string

Ex: find_first_in_list('foobar', ['bar', 'fin']) -> 3