結果 : python access variable outside loop