結果 : python local variable defined in enclosing scope referenced before assignment