結果 : python function taking list as input