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