can we use break statement in if condition in python