Input Validation While Loop Python Break Function In Oracle