結果 : how to pass an array into a function python