Powershell While Loop Array Python Example