結果 : find longest substring python