use break in if statement python