Inline While Loop Python Break Statement