結果 : define fruitful function in python