結果 : apply function to each item in list python