python3 find()方法
def strStr(haystack: str, needle: str) -> int: return haystack.find(needle) print(strStr("hello","ll")) print(strStr("hello","aab")) print(strStr("hello",""))