結果 : apply a function to all elements of a list python