python pass or continue in if statement