結果 : pop first element of list python time complexity