标签:https targe python3 ret alt target leetcode 方法 print
def strStr(haystack: str, needle: str) -> int:
return haystack.find(needle)
print(strStr("hello","ll"))
print(strStr("hello","aab"))
print(strStr("hello",""))
标签:https targe python3 ret alt target leetcode 方法 print
原文地址:https://www.cnblogs.com/wrnan/p/12496524.html