結果 : define nested functions in python