結果 : apply function for each element in list python