結果 : find the index of the first occurrence in a string leetcode solution python