結果 : python list check if value exists time complexity