結果 : apply function to all elements of list python