結果 : python access variable outside nested function