結果 : how to make a function accept a list in python