Pythonで LeftStrRightStr Substringなどの処理はsliceのみです。 ↑のコードは、2文字目〜3文字目を取得できます s2 = 「いう」です。
# You are given a string, S, and a list of words, L, that are all of the same length. # Find all starting indices of substring(s) in S that is a concatenation of each word # in L exactly once and ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする