Input Validation While Loop Python Explained