Powershell While Loop Array Python Initialize