How To Make Input Validation In Python