While Loop With Break In Python If Statement