Powershell User Input Validation In Python How Do You Convert