結果 : python string contains time complexity