結果 : python check if element in list time complexity