Powershell While Loop Array Python Initialize List