python does break exit for loop