Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT s = " barfoothefoobarman " NEW_LINE L = [ " foo " , " bar " ] NEW_LINE indices = findSubStringIndices ( s , L ) NEW_LINE print ( * indices ) NEW_LINE DEDENT