Input Validation While Loop Python 3