結果 : apply function to each element in list python