Python Exit If Statement