結果 : define a function in python with list argument