結果 : apply function to all values in list python