結果 : apply function to each value in list python