結果 : perform function on each item in list python