結果 : python define method inside method