結果 : how to pass a list into a function python