結果 : use of nested functions in python