結果 : apply function to all elements in list python