結果 : apply function to elements in list python