Powershell While Loop Array Python Initialize Variable To Null