結果 : python nested functions best practices